METHOD_0 ( ) { org . glassfish . IDENT_0 . server . IDENT_1 server = METHOD_1 ( org . glassfish . IDENT_0 . test . IDENT_2 . IDENT_3 . IDENT_4 . class ) ; try { final javax . IDENT_5 . IDENT_6 IDENT_7 = IDENT_6 . Builder . create ( ) . build ( ) ; final java . util . concurrent . IDENT_8 IDENT_9 = new java . util . concurrent . METHOD_2 ( 2 ) ; org . glassfish . IDENT_0 . client . IDENT_10 client = METHOD_3 ( ) ; client . METHOD_4 ( new javax . IDENT_5 . METHOD_5 ( ) { @ org . glassfish . IDENT_0 . test . IDENT_2 . Override public void METHOD_6 ( final javax . IDENT_5 . IDENT_11 session , javax . IDENT_5 . IDENT_12 IDENT_12 ) { session . METHOD_7 ( java . lang . String . class , new javax . IDENT_5 . IDENT_13 . IDENT_14 < java . lang . String > ( ) { @ java . lang . Override public void METHOD_8 ( java . lang . String message , boolean IDENT_15 ) { System . out . println ( ( ( ( STRING_0 + message ) + " " ) + IDENT_15 ) ) ; } } ) ; java . util . concurrent . IDENT_16 IDENT_17 = java . util . concurrent . IDENT_18 . METHOD_9 ( ) ; final java . util . concurrent . METHOD_2 IDENT_19 = new java . util . concurrent . METHOD_2 ( 1 ) ; try { session . METHOD_10 ( ) . METHOD_11 ( org . glassfish . IDENT_0 . test . IDENT_2 . IDENT_3 . IDENT_20 , false ) ; IDENT_17 . METHOD_12 ( new java . util . concurrent . IDENT_21 < java . lang . Object > ( ) { @ org . glassfish . IDENT_0 . test . IDENT_2 . Override public java . lang . Object call ( ) throws org . glassfish . IDENT_0 . test . IDENT_2 . Exception { session . METHOD_10 ( ) . METHOD_13 ( java . nio . ByteBuffer . METHOD_14 ( org . glassfish . IDENT_0 . test . IDENT_2 . IDENT_3 . IDENT_20 . getBytes ( ) ) , false ) ; IDENT_19 . METHOD_15 ( ) ; session . METHOD_10 ( ) . METHOD_13 ( java . nio . ByteBuffer . METHOD_14 ( org . glassfish . IDENT_0 . test . IDENT_2 . IDENT_3 . IDENT_20 . getBytes ( ) ) , true ) ; IDENT_9 . METHOD_15 ( ) ; return null ; } } ) ; IDENT_17 . METHOD_12 ( new java . util . concurrent . IDENT_21 < java . lang . Object > ( ) { @ org . glassfish . IDENT_0 . test . IDENT_2 . Override public java . lang . Object call ( ) throws org . glassfish . IDENT_0 . test . IDENT_2 . Exception { session . METHOD_10 ( ) . METHOD_11 ( org . glassfish . IDENT_0 . test . IDENT_2 . IDENT_3 . IDENT_20 , true ) ; return null ; } } ) ; IDENT_17 . METHOD_12 ( new java . util . concurrent . IDENT_21 < java . lang . Object > ( ) { @ org . glassfish . IDENT_0 . test . IDENT_2 . Override public java . lang . Object call ( ) throws org . glassfish . IDENT_0 . test . IDENT_2 . Exception { IDENT_19 . METHOD_16 ( 3 , TimeUnit . IDENT_22 ) ; session . METHOD_10 ( ) . METHOD_11 ( org . glassfish . IDENT_0 . test . IDENT_2 . IDENT_3 . IDENT_20 ) ; IDENT_9 . METHOD_15 ( ) ; return null ; } } ) ; } catch ( java . io . IOException IDENT_23 ) { } } } , IDENT_7 , METHOD_17 ( org . glassfish . IDENT_0 . test . IDENT_2 . IDENT_3 . IDENT_4 . class ) ) ; "<AssertPlaceHolder>" ; } catch ( javax . IDENT_5 . IDENT_24 e ) { e . printStackTrace ( ) ; org . junit . Assert . fail ( ) ; } finally { METHOD_18 ( server ) ; } } METHOD_17 ( java . lang . Class ) { return METHOD_17 ( IDENT_25 , null ) ; }
org . junit . Assert . assertTrue ( IDENT_9 . METHOD_16 ( 5 , TimeUnit . IDENT_22 ) )