METHOD_0 ( ) { org . xwiki . model . reference . IDENT_0 IDENT_1 = new org . xwiki . model . reference . METHOD_1 ( STRING_0 1 , java . util . Arrays . asList ( STRING_1 ) , STRING_0 ) ; com . IDENT_2 . xwiki . doc . IDENT_3 document = mock ( com . IDENT_2 . xwiki . doc . IDENT_3 . class ) ; when ( document . METHOD_2 ( ) ) . thenReturn ( IDENT_1 ) ; when ( document . METHOD_3 ( ) ) . thenReturn ( false ) ; context . METHOD_4 ( document ) ; java . lang . String IDENT_4 = STRING_0 2 ; java . lang . String IDENT_5 = STRING_2 ; when ( IDENT_6 . METHOD_5 ( STRING_0 3 ) ) . thenReturn ( IDENT_5 ) ; when ( IDENT_6 . METHOD_5 ( "name" ) ) . thenReturn ( STRING_3 ) ; when ( IDENT_6 . METHOD_5 ( STRING_4 ) ) . thenReturn ( IDENT_4 ) ; METHOD_6 ( IDENT_4 , new org . xwiki . model . reference . METHOD_1 ( STRING_0 1 , java . util . Arrays . asList ( STRING_5 ) , STRING_6 ) , Collections . IDENT_7 , false ) ; java . lang . String result = action . render ( context ) ; "<AssertPlaceHolder>" ; verify ( IDENT_8 ) . METHOD_7 ( STRING_0 0 , STRING_0 , STRING_7 , STRING_8 , null , STRING_0 1 , context ) ; } render ( com . IDENT_2 . xwiki . IDENT_9 ) { com . IDENT_2 . xwiki . web . IDENT_10 request = context . METHOD_8 ( ) ; java . lang . String path = request . METHOD_9 ( ) ; java . lang . String IDENT_11 = com . IDENT_2 . xwiki . util . IDENT_12 . METHOD_10 ( path . substring ( ( ( path . METHOD_11 ( "/" ) ) + 1 ) ) , context ) ; try { ( ( com . IDENT_2 . xwiki . plugin . IDENT_13 . IDENT_14 ) ( context . METHOD_12 ( ) . METHOD_13 ( STRING_9 , context ) ) ) . METHOD_14 ( IDENT_11 , context ) ; } catch ( java . io . IOException e ) { throw new com . IDENT_2 . xwiki . METHOD_15 ( com . IDENT_2 . xwiki . METHOD_15 . IDENT_15 , com . IDENT_2 . xwiki . METHOD_15 . IDENT_16 , STRING_10 , e ) ; } return null ; }
org . junit . Assert . assertNull ( result )