METHOD_0 ( ) { final java . util . concurrent . atomic . IDENT_0 < com . IDENT_1 . IDENT_2 . client . consumer . IDENT_3 > IDENT_4 = new java . util . concurrent . atomic . IDENT_0 < com . IDENT_1 . IDENT_2 . client . consumer . IDENT_3 > ( ) ; final java . util . concurrent . atomic . IDENT_5 IDENT_6 = new java . util . concurrent . atomic . METHOD_1 ( ) ; new java . lang . Thread ( ) { @ com . IDENT_1 . IDENT_2 . client . consumer . Override public void run ( ) { try { IDENT_4 . set ( com . IDENT_1 . IDENT_2 . client . consumer . IDENT_7 . this . IDENT_8 . METHOD_2 ( ) ) ; IDENT_6 . set ( true ) ; } catch ( final java . lang . IDENT_9 e ) { } } } . start ( ) ; java . lang . Thread . sleep ( 1000 ) ; final com . IDENT_1 . IDENT_2 . client . consumer . IDENT_3 request = new com . IDENT_1 . IDENT_2 . client . consumer . METHOD_3 ( 1000 ) ; this . IDENT_8 . METHOD_4 ( request ) ; while ( ! ( IDENT_6 . get ( ) ) ) { java . lang . Thread . sleep ( INT_0 ) ; } "<AssertPlaceHolder>" ; } METHOD_4 ( com . IDENT_1 . IDENT_2 . client . consumer . METHOD_3 ) { final java . util . concurrent . IDENT_10 . IDENT_11 IDENT_12 = this . IDENT_12 ; IDENT_12 . METHOD_5 ( ) ; try { if ( ( ( e . METHOD_6 ( ) ) != null ) && ( ( e . METHOD_6 ( ) ) != ( this ) ) ) { return ; } e . METHOD_7 ( this ) ; this . queue . METHOD_4 ( e ) ; java . util . Collections . METHOD_8 ( this . queue ) ; if ( ( this . queue . METHOD_9 ( ) ) == e ) { this . IDENT_13 = null ; this . IDENT_14 . METHOD_10 ( ) ; } } finally { METHOD_5 . METHOD_11 ( ) ; } }
org . junit . Assert . assertSame ( IDENT_4 . get ( ) , request )