METHOD_0 ( ) { final org . apache . activemq . artemis . api . core . IDENT_0 address = new org . apache . activemq . artemis . api . core . METHOD_1 ( STRING_0 ) ; server = METHOD_2 ( false , METHOD_3 ( ) ) ; org . apache . activemq . artemis . core . IDENT_1 . impl . IDENT_2 IDENT_3 = new org . apache . activemq . artemis . core . IDENT_1 . impl . METHOD_4 ( ) . METHOD_5 ( INT_0 ) . METHOD_6 ( IDENT_4 . IDENT_5 ) ; org . apache . activemq . artemis . core . IDENT_1 . IDENT_6 < org . apache . activemq . artemis . core . IDENT_1 . impl . METHOD_4 > IDENT_7 = server . METHOD_7 ( ) ; IDENT_7 . METHOD_8 ( address . toString ( ) , IDENT_3 ) ; server . start ( ) ; METHOD_9 ( server ) ; IDENT_8 . METHOD_10 ( INT_0 ) . METHOD_11 ( INT_0 ) . METHOD_12 ( INT_0 ) ; sf = METHOD_13 ( IDENT_8 ) ; session = sf . METHOD_14 ( false , true , true , true ) ; final org . apache . activemq . artemis . api . core . METHOD_1 IDENT_9 = new org . apache . activemq . artemis . api . core . METHOD_1 ( STRING_1 ) ; session . METHOD_15 ( address , IDENT_9 , null , false ) ; org . apache . activemq . artemis . api . core . client . IDENT_10 IDENT_11 = session . METHOD_16 ( address ) ; byte [ ] bytes = new byte [ INT_1 ] ; org . apache . activemq . artemis . api . core . client . IDENT_12 message = session . METHOD_17 ( false ) ; message . METHOD_18 ( ) . METHOD_19 ( bytes ) ; final java . util . concurrent . atomic . IDENT_13 IDENT_14 = new java . util . concurrent . atomic . METHOD_20 ( false ) ; java . lang . Thread t = new java . lang . Thread ( new java . lang . METHOD_21 ( ) { @ org . apache . activemq . artemis . tests . integration . client . Override public void run ( ) { try { java . lang . Thread . sleep ( INT_2 ) ; IDENT_14 . set ( true ) ; session . close ( ) ; } catch ( java . lang . Exception e ) { } } } ) ; t . start ( ) ; try { for ( int i = 0 ; i < 10 ; i ++ ) { IDENT_11 . METHOD_22 ( message ) ; } } catch ( org . apache . activemq . artemis . api . core . IDENT_15 expected ) { } "<AssertPlaceHolder>" ; t . join ( ) ; } get ( ) { return buffer . METHOD_23 ( ) ; }
org . junit . Assert . assertTrue ( IDENT_14 . get ( ) )