METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final byte [ ] expected = ( IDENT_0 + STRING_1 ) . getBytes ( IDENT_1 . UTF_8 ) ; server . METHOD_1 ( new org . eclipse . IDENT_2 . server . handler . METHOD_2 ( ) { @ org . jboss . IDENT_3 . test . client . IDENT_2 . Override public void METHOD_3 ( java . lang . String target , org . eclipse . IDENT_2 . server . IDENT_4 IDENT_5 , javax . servlet . http . IDENT_6 request , javax . servlet . http . IDENT_7 response ) throws java . io . IOException { IDENT_5 . METHOD_4 ( true ) ; response . METHOD_5 ( 200 ) ; response . METHOD_6 ( IDENT_8 . IDENT_9 ) ; response . METHOD_7 ( ) . println ( IDENT_0 ) ; } } ) ; final byte [ ] content = new byte [ expected . length ] ; final javax . ws . rs . client . IDENT_10 IDENT_11 = new javax . ws . rs . client . METHOD_8 ( ) { @ org . jboss . IDENT_3 . test . client . IDENT_2 . Override public void filter ( javax . ws . rs . client . IDENT_12 IDENT_13 , javax . ws . rs . client . IDENT_14 IDENT_15 ) throws java . io . IOException { IDENT_15 . METHOD_9 ( ) . read ( content ) ; } } ; try ( java . io . InputStream response = client ( ) . METHOD_10 ( IDENT_11 ) . target ( METHOD_11 ( ) ) . request ( ) . get ( java . io . InputStream . class ) ) { } "<AssertPlaceHolder>" ; } get ( java . lang . String ) { return val ; }
org . junit . Assert . assertArrayEquals ( expected , content )