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