METHOD_0 ( ) { java . io . File path = net . IDENT_0 . IDENT_1 . queue . impl . IDENT_2 . IDENT_3 . METHOD_1 ( STRING_0 ) ; net . IDENT_0 . IDENT_1 . core . time . IDENT_4 IDENT_5 = new net . IDENT_0 . IDENT_1 . core . time . METHOD_2 ( ) ; net . IDENT_0 . IDENT_1 . queue . impl . IDENT_2 . IDENT_6 . IDENT_7 IDENT_8 = new net . IDENT_0 . IDENT_1 . queue . impl . IDENT_2 . IDENT_6 . METHOD_3 ( IDENT_5 , path . METHOD_4 ( ) ) ; int IDENT_9 = 100 ; try ( net . IDENT_0 . IDENT_1 . queue . impl . IDENT_2 . IDENT_10 queue = net . IDENT_0 . IDENT_1 . queue . impl . IDENT_2 . IDENT_11 . METHOD_5 ( path ) . METHOD_6 ( ) . METHOD_7 ( IDENT_12 . IDENT_13 ) . METHOD_8 ( METHOD_8 ) . build ( ) ) { net . IDENT_0 . IDENT_1 . queue . impl . IDENT_2 . IDENT_14 IDENT_15 = queue . METHOD_9 ( ) ; IDENT_15 . METHOD_10 ( STRING_1 ) ; java . lang . Thread IDENT_16 = new java . lang . Thread ( IDENT_8 ) ; IDENT_16 . start ( ) ; IDENT_8 . METHOD_11 ( ) ; for ( int i = 1 ; i <= IDENT_9 ; i ++ ) { METHOD_8 . METHOD_12 ( TimeUnit . IDENT_17 . METHOD_13 ( 2 ) ) ; IDENT_15 . METHOD_10 ( java . lang . Integer . toString ( i ) ) ; } for ( int i = 0 ; ( i < INT_0 ) && ( ( IDENT_8 . IDENT_18 ) != ( 1 + IDENT_9 ) ) ; i ++ ) { java . lang . Thread . sleep ( 1 ) ; } IDENT_16 . METHOD_14 ( ) ; } "<AssertPlaceHolder>" ; IDENT_8 . queue . close ( ) ; } METHOD_11 ( ) { IDENT_19 . METHOD_11 ( ) ; }
org . junit . Assert . assertEquals ( ( 1 + IDENT_9 ) , IDENT_8 . IDENT_18 )