METHOD_0 ( ) { final javax . jms . IDENT_0 session = org . IDENT_1 . component . test . IDENT_2 . activemq . IDENT_3 . IDENT_4 . METHOD_1 ( ) ; javax . jms . IDENT_5 queue = session . METHOD_0 ( "foo" ) ; javax . jms . IDENT_6 IDENT_7 = session . METHOD_2 ( queue ) ; IDENT_7 . METHOD_3 ( session . METHOD_4 ( "bar" ) ) ; IDENT_7 . close ( ) ; javax . jms . IDENT_8 consumer = session . METHOD_5 ( queue ) ; javax . jms . IDENT_9 msg = ( ( javax . jms . IDENT_9 ) ( consumer . METHOD_6 ( ) ) ) ; consumer . close ( ) ; "<AssertPlaceHolder>" ; session . close ( ) ; } close ( ) { if ( ( IDENT_10 ) != null ) { try { IDENT_10 . METHOD_7 ( ) ; } catch ( java . lang . Exception e ) { e . printStackTrace ( ) ; org . junit . Assert . fail ( ( STRING_0 + e ) ) ; } } }
org . junit . Assert . assertEquals ( "bar" , msg . getText ( ) )