METHOD_0 ( ) { final uk . co . IDENT_0 . IDENT_1 < java . lang . Integer > queue = new uk . co . IDENT_0 . IDENT_1 < java . lang . Integer > ( ) ; java . util . concurrent . IDENT_2 . METHOD_1 ( ) . execute ( new java . lang . METHOD_2 ( ) { @ uk . co . IDENT_0 . Override public void run ( ) { try { queue . put ( 1 ) ; } catch ( java . lang . IDENT_3 e ) { e . printStackTrace ( ) ; } } } ) ; final java . util . concurrent . IDENT_4 < java . lang . Integer > actual = new java . util . concurrent . IDENT_4 < java . lang . Integer > ( 1 ) ; java . util . concurrent . IDENT_2 . METHOD_1 ( ) . execute ( new java . lang . METHOD_2 ( ) { @ uk . co . IDENT_0 . Override public void run ( ) { final int value ; try { value = queue . METHOD_3 ( ) ; actual . add ( value ) ; } catch ( java . lang . IDENT_3 e ) { e . printStackTrace ( ) ; } } } ) ; final java . lang . Integer value = actual . METHOD_4 ( 1 , TimeUnit . IDENT_5 ) ; "<AssertPlaceHolder>" ; java . lang . Thread . sleep ( 100 ) ; } METHOD_4 ( long , java . util . concurrent . TimeUnit ) { final int IDENT_6 = this . IDENT_7 ; int IDENT_8 = METHOD_5 ( IDENT_9 , unit , IDENT_6 ) ; final float value = data [ IDENT_6 ] ; METHOD_6 ( IDENT_8 ) ; return value ; }
org . junit . Assert . assertEquals ( ( ( int ) ( value ) ) , 1 )