METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; when ( IDENT_1 . METHOD_1 ( IDENT_0 ) ) . thenReturn ( IDENT_2 ) ; when ( IDENT_3 . METHOD_2 ( IDENT_1 , STRING_0 , org . IDENT_4 . kernel . IDENT_5 . services . IDENT_6 , org . IDENT_4 . kernel . IDENT_5 . services . IDENT_6 ) ) . thenReturn ( IDENT_2 ) ; final org . IDENT_4 . kernel . api . models . IDENT_7 actual = IDENT_8 . METHOD_3 ( IDENT_9 , STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . IDENT_4 . kernel . api . IDENT_10 , java . lang . String ) { try { final org . IDENT_4 . kernel . api . models . IDENT_11 IDENT_12 = METHOD_4 ( session , path ) ; final javax . jcr . Node IDENT_13 = METHOD_5 ( IDENT_12 ) ; if ( IDENT_13 . METHOD_6 ( ) ) { final java . lang . String IDENT_14 = ( ( IDENT_13 . getPath ( ) ) + "/" ) + ( IDENT_15 ) ; METHOD_7 ( session , IDENT_14 ) ; } return IDENT_12 ; } catch ( final javax . jcr . IDENT_16 e ) { throw new org . IDENT_4 . kernel . api . exception . METHOD_8 ( e ) ; } }
org . junit . Assert . assertEquals ( IDENT_2 , METHOD_5 ( actual ) )