METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 config = new com . IDENT_0 . IDENT_1 . METHOD_1 ( ) ; config . METHOD_2 ( com . IDENT_0 . IDENT_1 . IDENT_3 . IDENT_4 . getAbsolutePath ( ) ) ; config . METHOD_3 ( 10 ) ; config . setName ( "test" ) ; config . METHOD_4 ( INT_0 ) ; com . IDENT_0 . IDENT_1 . IDENT_5 < java . lang . Integer > IDENT_6 = new com . IDENT_0 . IDENT_1 . IDENT_7 < java . lang . Integer > ( config ) ; int times = 1000 ; for ( int i = 0 ; i < times ; i ++ ) { IDENT_6 . add ( i ) ; } for ( int i = 0 ; i < times ; i ++ ) { "<AssertPlaceHolder>" ; } IDENT_6 . close ( ) ; } get ( ) { IDENT_8 . METHOD_5 ( ) ; try { IDENT_9 res = null ; while ( res == null ) { res = IDENT_10 . METHOD_6 ( ) ; if ( res != null ) { IDENT_11 . update ( IDENT_10 . METHOD_7 ( ) , IDENT_10 . METHOD_8 ( ) ) ; return res ; } TimeUnit . IDENT_12 . sleep ( 1000 ) ; } return null ; } finally { IDENT_8 . METHOD_9 ( ) ; } }
org . junit . Assert . assertEquals ( java . lang . Integer . valueOf ( i ) , IDENT_6 . get ( ) )