evaluate ( ) { org . xwiki . IDENT_0 . IDENT_1 IDENT_2 = this . IDENT_3 . getInstance ( org . xwiki . IDENT_0 . IDENT_1 . class ) ; org . xwiki . model . reference . IDENT_4 IDENT_5 = new org . xwiki . model . reference . METHOD_0 ( STRING_0 , STRING_1 , STRING_2 ) ; when ( IDENT_2 . getProperty ( METHOD_1 ( IDENT_5 ) , any ( ) , METHOD_2 ( ) , eq ( STRING_3 ) ) ) . thenReturn ( STRING_4 ) ; org . xwiki . IDENT_6 . IDENT_7 IDENT_8 = mock ( org . xwiki . IDENT_6 . IDENT_7 . class ) ; org . xwiki . IDENT_6 . IDENT_9 IDENT_10 = this . IDENT_3 . getInstance ( org . xwiki . IDENT_6 . IDENT_9 . class ) ; when ( IDENT_10 . METHOD_3 ( ) ) . thenReturn ( IDENT_8 ) ; when ( IDENT_11 . METHOD_4 ( eq ( STRING_4 ) , any ( ) , any ( org . apache . IDENT_6 . IDENT_12 . class ) ) ) . thenReturn ( STRING_5 ) ; java . lang . String result = this . IDENT_3 . METHOD_5 ( ) . evaluate ( IDENT_5 , STRING_3 , java . util . Collections . METHOD_6 ( ) ) ; "<AssertPlaceHolder>" ; } evaluate ( IDENT_13 extends org . xwiki . IDENT_14 . IDENT_15 . script . IDENT_16 , java . lang . String , org . xwiki . IDENT_14 . IDENT_17 . IDENT_18 ) { return "" ; }
org . junit . Assert . assertEquals ( result , STRING_5 )