METHOD_0 ( ) { org . apache . activemq . IDENT_0 factory = new org . apache . activemq . METHOD_1 ( IDENT_1 ) ; final java . util . concurrent . IDENT_2 IDENT_3 = new java . util . concurrent . METHOD_2 ( 1 ) ; javax . jms . IDENT_4 connection = factory . METHOD_3 ( ) ; javax . jms . IDENT_5 session = connection . METHOD_4 ( false , IDENT_5 . IDENT_6 ) ; javax . jms . IDENT_7 IDENT_8 = session . METHOD_5 ( name . METHOD_6 ( ) ) ; javax . jms . IDENT_9 consumer = session . METHOD_7 ( IDENT_8 ) ; consumer . METHOD_8 ( new javax . jms . METHOD_9 ( ) { @ org . apache . activemq . Override public void METHOD_10 ( javax . jms . Message message ) { IDENT_3 . METHOD_11 ( ) ; } } ) ; javax . jms . IDENT_10 IDENT_11 = session . METHOD_12 ( IDENT_8 ) ; IDENT_11 . METHOD_13 ( TimeUnit . IDENT_12 . METHOD_14 ( 2 ) ) ; IDENT_11 . METHOD_15 ( session . METHOD_16 ( "test" ) ) ; TimeUnit . IDENT_12 . sleep ( 4 ) ; connection . start ( ) ; "<AssertPlaceHolder>" ; connection . close ( ) ; } METHOD_17 ( int , java . util . concurrent . TimeUnit ) { IDENT_13 . LOGGER . METHOD_18 ( IDENT_14 , unit . toString ( ) . toLowerCase ( ) ) ; if ( IDENT_15 . METHOD_17 ( IDENT_14 , unit ) ) IDENT_13 . LOGGER . METHOD_19 ( ) ; else IDENT_13 . LOGGER . METHOD_20 ( ) ; }
org . junit . Assert . assertFalse ( IDENT_3 . METHOD_17 ( 1 , TimeUnit . IDENT_12 ) )