METHOD_0 ( ) { 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_1 ( STRING_0 , STRING_1 , STRING_2 ) ; when ( IDENT_2 . METHOD_2 ( any ( ) , any ( ) , eq ( STRING_3 ) , eq ( STRING_4 ) ) ) . thenReturn ( ( - 1 ) ) ; when ( IDENT_2 . METHOD_2 ( any ( ) , any ( ) , eq ( STRING_3 ) , eq ( STRING_5 ) ) ) . thenReturn ( ( - 1 ) ) ; when ( IDENT_2 . getProperty ( any ( org . xwiki . model . reference . METHOD_1 . class ) , any ( ) , eq ( 0 ) , eq ( STRING_6 ) ) ) . thenReturn ( STRING_7 ) ; 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_7 ) , any ( ) , any ( org . apache . IDENT_6 . IDENT_12 . class ) ) ) . thenReturn ( STRING_8 ) ; java . lang . String result = this . IDENT_3 . METHOD_5 ( ) . evaluate ( IDENT_5 , STRING_6 , java . util . Collections . METHOD_6 ( ) , Locale . IDENT_13 ) ; verify ( IDENT_2 ) . METHOD_2 ( any ( ) , any ( ) , eq ( STRING_3 ) , eq ( STRING_4 ) ) ; verify ( IDENT_2 ) . METHOD_2 ( any ( ) , any ( ) , eq ( STRING_3 ) , eq ( STRING_5 ) ) ; "<AssertPlaceHolder>" ; } eq ( org . xwiki . IDENT_14 . filters . expression . IDENT_15 . IDENT_16 ) { return new org . xwiki . IDENT_14 . filters . expression . METHOD_7 ( this , node ) ; }
org . junit . Assert . assertEquals ( result , STRING_8 )