METHOD_0 ( ) { org . xwiki . IDENT_0 . parser . IDENT_1 parser = this . IDENT_2 . METHOD_1 ( org . xwiki . IDENT_0 . parser . IDENT_1 . class , STRING_0 ) ; when ( parser . parse ( METHOD_2 ( new org . xwiki . test . mockito . METHOD_3 ( STRING_1 ) ) ) ) . thenReturn ( new org . xwiki . IDENT_0 . block . METHOD_4 ( java . util . Collections . < org . xwiki . IDENT_0 . block . IDENT_3 > emptyList ( ) ) ) ; org . xwiki . IDENT_0 . renderer . IDENT_4 IDENT_5 = this . IDENT_2 . METHOD_1 ( org . xwiki . IDENT_0 . renderer . IDENT_4 . class , STRING_2 ) ; METHOD_5 ( new org . mockito . IDENT_6 . IDENT_7 < java . lang . IDENT_8 > ( ) { @ org . xwiki . IDENT_0 . script . Override public org . xwiki . IDENT_0 . script . IDENT_8 METHOD_6 ( org . mockito . IDENT_9 . IDENT_10 IDENT_11 ) throws java . lang . Throwable { org . xwiki . IDENT_0 . renderer . IDENT_12 . IDENT_13 IDENT_12 = ( ( org . xwiki . IDENT_0 . renderer . IDENT_12 . IDENT_13 ) ( IDENT_11 . METHOD_7 ( ) [ 1 ] ) ) ; IDENT_12 . METHOD_8 ( STRING_3 ) ; return null ; } } ) . when ( IDENT_5 ) . render ( any ( org . xwiki . IDENT_0 . block . METHOD_4 . class ) , any ( ) ) ; org . xwiki . IDENT_0 . block . METHOD_4 IDENT_14 = this . IDENT_2 . METHOD_9 ( ) . parse ( STRING_1 , STRING_0 ) ; "<AssertPlaceHolder>" ; } render ( java . lang . String , java . lang . String ) { return this . render ( IDENT_15 , IDENT_16 , true ) ; }
org . junit . Assert . assertEquals ( STRING_3 , this . IDENT_2 . METHOD_9 ( ) . render ( IDENT_14 , STRING_2 ) )