METHOD_0 ( ) { final IDENT_0 . analysis . IDENT_1 ac = new IDENT_0 . analysis . METHOD_1 ( ) ; final IDENT_0 . common . configuration . Configuration IDENT_2 = new IDENT_0 . common . configuration . Configuration ( ) ; IDENT_2 . setProperty ( IDENT_3 . IDENT_4 , IDENT_0 . test . tools . junit . IDENT_5 . jms . IDENT_6 . class . getName ( ) ) ; final IDENT_0 . analysis . plugin . reader . jms . IDENT_3 IDENT_7 = new IDENT_0 . analysis . plugin . reader . jms . METHOD_2 ( IDENT_2 , ac ) ; IDENT_7 . METHOD_3 ( false ) ; "<AssertPlaceHolder>" ; } read ( ) { boolean IDENT_8 = true ; javax . jms . IDENT_9 connection = null ; try { final java . util . IDENT_10 < java . lang . String , java . lang . String > properties = new java . util . METHOD_4 ( ) ; properties . put ( Context . IDENT_11 , this . IDENT_12 ) ; properties . put ( Context . IDENT_13 , this . IDENT_14 ) ; final javax . IDENT_15 . Context context = new javax . IDENT_15 . METHOD_5 ( properties ) ; final javax . jms . IDENT_16 factory = ( ( javax . jms . IDENT_16 ) ( context . METHOD_6 ( STRING_0 ) ) ) ; connection = factory . METHOD_7 ( ) ; final javax . jms . IDENT_17 session = connection . METHOD_8 ( false , IDENT_17 . IDENT_18 ) ; javax . jms . IDENT_19 IDENT_20 ; try { IDENT_20 = ( ( javax . jms . IDENT_19 ) ( context . METHOD_6 ( this . IDENT_21 ) ) ) ; } catch ( final javax . IDENT_15 . IDENT_22 IDENT_23 ) { IDENT_20 = session . METHOD_9 ( this . IDENT_21 ) ; if ( IDENT_20 == null ) { IDENT_0 . IDENT_24 . plugin . reader . jms . IDENT_25 . LOGGER . error ( STRING_1 , this . IDENT_21 , IDENT_23 . getMessage ( ) ) ; throw IDENT_23 ; } } IDENT_0 . IDENT_24 . plugin . reader . jms . IDENT_25 . LOGGER . info ( STRING_2 , IDENT_20 , this . IDENT_14 ) ; final javax . jms . IDENT_26 IDENT_27 = session . METHOD_10 ( IDENT_20 ) ; IDENT_27 . METHOD_11 ( new IDENT_0 . IDENT_24 . plugin . reader . jms . IDENT_25 . METHOD_12 ( ) ) ; connection . start ( ) ; IDENT_0 . IDENT_24 . plugin . reader . jms . IDENT_25 . LOGGER . info ( STRING_3 ) ; this . block ( ) ; IDENT_0 . IDENT_24 . plugin . reader . jms . IDENT_25 . LOGGER . info ( STRING_4 ) ; } catch ( final java . lang . Exception ex ) { IDENT_0 . IDENT_24 . plugin . reader . jms . IDENT_25 . LOGGER . error ( STRING_5 , ex ) ; IDENT_8 = false ; } finally { try { if ( connection != null ) { connection . close ( ) ; } } catch ( final javax . jms . IDENT_28 ex ) { IDENT_0 . IDENT_24 . plugin . reader . jms . IDENT_25 . LOGGER . error ( STRING_6 , ex ) ; } } return IDENT_8 ; }
org . junit . Assert . assertTrue ( IDENT_7 . read ( ) )