METHOD_0 ( ) { javax . jms . IDENT_0 IDENT_1 = new org . apache . IDENT_2 . jms . METHOD_1 ( STRING_0 ) ; try ( javax . jms . IDENT_3 connection = IDENT_1 . METHOD_2 ( ) ) { javax . jms . IDENT_4 session = connection . METHOD_3 ( false , IDENT_4 . IDENT_5 ) ; javax . jms . IDENT_6 queue = session . METHOD_4 ( STRING_1 ) ; javax . jms . IDENT_7 IDENT_8 = session . METHOD_5 ( queue ) ; java . lang . String message = STRING_2 ; IDENT_8 . METHOD_6 ( session . METHOD_7 ( message ) ) ; connection . start ( ) ; javax . jms . IDENT_9 consumer = session . METHOD_8 ( queue ) ; javax . jms . IDENT_10 m = ( ( javax . jms . IDENT_10 ) ( consumer . METHOD_9 ( INT_0 ) ) ) ; "<AssertPlaceHolder>" ; } } getText ( ) { if ( ( text ) != null ) { return text . toString ( ) ; } else { return null ; } }
org . junit . Assert . assertEquals ( message , m . getText ( ) )