METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final java . lang . String IDENT_1 = STRING_1 + IDENT_0 ; javax . jcr . IDENT_2 session = METHOD_1 ( ) ; javax . jcr . Node IDENT_3 = session . METHOD_2 ( ) . METHOD_3 ( IDENT_0 ) ; IDENT_3 . setProperty ( "foo" , "bar" ) ; IDENT_3 . setProperty ( STRING_2 , STRING_3 ) ; session . save ( ) ; javax . jcr . IDENT_2 IDENT_4 = METHOD_4 ( ) ; javax . jcr . IDENT_5 . IDENT_6 IDENT_7 = IDENT_4 . METHOD_5 ( ) . METHOD_6 ( ) ; try { final java . util . List < javax . jcr . IDENT_5 . IDENT_8 > events = new java . util . ArrayList < javax . jcr . IDENT_5 . IDENT_8 > ( ) ; final java . util . concurrent . IDENT_9 IDENT_10 = new java . util . concurrent . METHOD_7 ( 1 ) ; javax . jcr . IDENT_5 . IDENT_11 listener = new javax . jcr . IDENT_5 . METHOD_8 ( ) { @ org . apache . jackrabbit . oak . jcr . Override public void METHOD_9 ( javax . jcr . IDENT_5 . IDENT_12 IDENT_13 ) { while ( IDENT_13 . hasNext ( ) ) { events . add ( IDENT_13 . METHOD_10 ( ) ) ; } if ( ! ( events . isEmpty ( ) ) ) { IDENT_10 . METHOD_11 ( ) ; } } } ; IDENT_7 . METHOD_12 ( listener , org . apache . jackrabbit . oak . jcr . IDENT_14 , IDENT_1 , true , null , null , false ) ; session . METHOD_13 ( IDENT_1 ) . setProperty ( "foo" , "bar" ) ; session . METHOD_13 ( IDENT_1 ) . setProperty ( STRING_2 , STRING_4 ) ; session . save ( ) ; IDENT_10 . METHOD_14 ( INT_0 , TimeUnit . IDENT_15 ) ; "<AssertPlaceHolder>" ; } finally { IDENT_4 . METHOD_15 ( ) ; } } size ( ) { return size ; }
org . junit . Assert . assertEquals ( 1 , events . size ( ) )