METHOD_0 ( ) { javax . jcr . IDENT_0 writer = METHOD_1 ( ) ; javax . jcr . IDENT_0 reader = METHOD_1 ( ) ; org . apache . jackrabbit . api . security . user . IDENT_1 IDENT_2 = ( ( org . apache . jackrabbit . api . IDENT_3 ) ( writer ) ) . METHOD_2 ( ) ; java . lang . String IDENT_4 = STRING_0 ; try { org . apache . jackrabbit . api . security . user . User user = IDENT_2 . METHOD_3 ( STRING_0 , STRING_1 ) ; writer . METHOD_4 ( user . getPath ( ) ) . METHOD_5 ( STRING_2 , STRING_3 ) ; writer . save ( ) ; javax . jcr . query . IDENT_5 IDENT_6 = reader . METHOD_6 ( ) . METHOD_7 ( ) ; javax . jcr . query . Query q = IDENT_6 . METHOD_8 ( STRING_4 , Query . IDENT_7 ) ; javax . jcr . IDENT_8 res = q . execute ( ) . METHOD_9 ( ) ; "<AssertPlaceHolder>" ; } finally { org . apache . jackrabbit . api . security . user . IDENT_9 a = IDENT_2 . METHOD_10 ( IDENT_4 ) ; if ( a != null ) { a . remove ( ) ; writer . save ( ) ; } if ( reader != null ) { reader . METHOD_11 ( ) ; } if ( writer != null ) { writer . METHOD_11 ( ) ; } } } METHOD_12 ( ) { return size ; }
org . junit . Assert . assertEquals ( 1 , res . METHOD_12 ( ) )