METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( IDENT_1 ) ; when ( IDENT_1 . METHOD_2 ( ) ) . thenReturn ( IDENT_2 ) ; when ( IDENT_2 . METHOD_3 ( ) ) . thenReturn ( IDENT_3 ) ; when ( IDENT_3 . METHOD_4 ( ( ( ( ( STRING_0 + ( IDENT_4 ) ) + STRING_1 ) + ( IDENT_5 ) ) + "]" ) , org . IDENT_6 . kernel . IDENT_7 . services . IDENT_8 ) ) . thenReturn ( IDENT_9 ) ; when ( IDENT_9 . execute ( ) ) . thenReturn ( IDENT_10 ) ; when ( IDENT_10 . METHOD_5 ( ) ) . thenReturn ( IDENT_11 ) ; when ( IDENT_11 . METHOD_6 ( ) ) . thenReturn ( INT_0 ) ; final long count = IDENT_12 . METHOD_7 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_1 ) . METHOD_8 ( ) ; verify ( IDENT_1 , METHOD_9 ( ) ) . save ( ) ; } METHOD_7 ( ) { final javax . jcr . IDENT_13 repo = org . IDENT_6 . kernel . IDENT_7 . IDENT_14 . METHOD_10 ( repository ) ; try { return org . IDENT_6 . kernel . IDENT_7 . services . IDENT_15 . METHOD_11 ( repo ) ; } catch ( final javax . jcr . IDENT_16 e ) { throw new org . IDENT_6 . kernel . api . exception . METHOD_12 ( e ) ; } }
org . junit . Assert . assertEquals ( INT_0 , count )