METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 transaction = this . METHOD_1 ( ) ; com . IDENT_0 . IDENT_1 . Calendar IDENT_3 = com . IDENT_0 . IDENT_4 . IDENT_5 . METHOD_2 ( STRING_0 ) ; IDENT_3 . add ( Calendar . IDENT_6 , ( - 1 ) ) ; com . IDENT_0 . IDENT_1 . Calendar IDENT_7 = com . IDENT_0 . IDENT_4 . IDENT_5 . METHOD_2 ( STRING_0 ) ; IDENT_7 . add ( Calendar . IDENT_6 , 1 ) ; com . IDENT_0 . IDENT_1 . IDENT_8 IDENT_9 = new com . IDENT_0 . IDENT_1 . METHOD_3 ( ) . id ( ) . is ( transaction . getId ( ) ) . METHOD_4 ( ) . METHOD_5 ( IDENT_3 , IDENT_7 ) ; com . IDENT_0 . IDENT_1 . IDENT_10 < com . IDENT_0 . IDENT_1 . IDENT_2 > collection = null ; for ( int i = 0 ; i < INT_0 ; i ++ ) { java . lang . Thread . sleep ( 1000 ) ; collection = IDENT_11 . transaction ( ) . search ( IDENT_9 ) ; if ( ( collection . METHOD_6 ( ) ) > 0 ) { break ; } } "<AssertPlaceHolder>" ; } METHOD_6 ( ) { return IDENT_12 . size ( ) ; }
org . junit . Assert . assertEquals ( 1 , collection . METHOD_6 ( ) )