METHOD_0 ( ) { org . xwiki . IDENT_0 . IDENT_1 . IDENT_2 IDENT_1 = new org . xwiki . IDENT_0 . IDENT_1 . METHOD_1 ( STRING_0 , STRING_1 ) ; when ( IDENT_3 . METHOD_0 ( STRING_1 ) ) . thenReturn ( IDENT_1 ) ; org . xwiki . IDENT_0 . IDENT_1 . METHOD_1 result = IDENT_4 . METHOD_2 ( ) . METHOD_0 ( STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( java . lang . String ) { org . xwiki . IDENT_0 . IDENT_1 . METHOD_1 IDENT_1 = cache . METHOD_3 ( IDENT_5 ) ; if ( IDENT_1 == null ) { com . IDENT_6 . xwiki . doc . IDENT_7 document = IDENT_8 . get ( ) . METHOD_4 ( IDENT_5 ) ; if ( document != null ) { IDENT_1 = METHOD_5 ( document ) ; } if ( IDENT_1 == null ) { cache . METHOD_6 ( IDENT_5 , IDENT_9 . IDENT_10 ) ; } } return ( IDENT_1 != ( IDENT_9 . IDENT_10 ) ) && ( IDENT_1 != null ) ? IDENT_1 . METHOD_7 ( ) : null ; }
org . junit . Assert . assertEquals ( IDENT_1 , result )