METHOD_0 ( ) { java . lang . Thread runner = new java . lang . Thread ( new java . lang . METHOD_1 ( ) { @ org . apache . IDENT_0 . jms . util . Override public void run ( ) { try { TimeUnit . IDENT_1 . sleep ( 100 ) ; } catch ( java . lang . IDENT_2 e ) { } queue . METHOD_2 ( ) ; } } ) ; runner . start ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( long ) { MOD_0 ( IDENT_3 ) { while ( ( ( IDENT_4 != 0 ) && ( METHOD_4 ( ) ) ) && ( isEmpty ( ) ) ) { if ( IDENT_4 == ( - 1 ) ) { IDENT_3 . METHOD_5 ( ) ; } else { long start = java . lang . System . currentTimeMillis ( ) ; IDENT_3 . METHOD_5 ( IDENT_4 ) ; IDENT_4 = java . lang . Math . max ( ( ( IDENT_4 + start ) - ( java . lang . System . currentTimeMillis ( ) ) ) , 0 ) ; } } if ( ( ! ( METHOD_4 ( ) ) ) || ( isEmpty ( ) ) ) { return null ; } return METHOD_6 ( ) ; } }
org . junit . Assert . assertNull ( queue . METHOD_3 ( ( - 1 ) ) )