METHOD_0 ( ) { org . apache . activemq . IDENT_0 factory = new org . apache . activemq . METHOD_1 ( IDENT_1 ) ; factory . METHOD_2 ( false ) ; javax . jms . IDENT_2 connection = factory . METHOD_3 ( ) ; javax . jms . IDENT_3 session = connection . METHOD_4 ( false , IDENT_3 . IDENT_4 ) ; javax . jms . IDENT_5 IDENT_6 = session . METHOD_5 ( name . METHOD_6 ( ) ) ; javax . jms . IDENT_7 consumer = session . METHOD_7 ( IDENT_6 ) ; javax . jms . IDENT_8 IDENT_9 = session . METHOD_8 ( IDENT_6 ) ; IDENT_9 . METHOD_9 ( TimeUnit . IDENT_10 . METHOD_10 ( 2 ) ) ; connection . start ( ) ; IDENT_9 . METHOD_11 ( session . METHOD_12 ( "test" ) ) ; TimeUnit . IDENT_10 . sleep ( 4 ) ; "<AssertPlaceHolder>" ; connection . close ( ) ; } METHOD_13 ( int ) { return METHOD_13 ( IDENT_11 , 2 ) ; }
org . junit . Assert . assertNotNull ( consumer . METHOD_13 ( 1000 ) )