METHOD_0 ( ) { try ( final org . apache . IDENT_0 . IDENT_1 container = new org . apache . IDENT_0 . METHOD_1 ( new org . apache . IDENT_0 . METHOD_1 . Builder ( ) { { METHOD_2 ( ( c , ctx ) -> ctx . METHOD_3 ( "test" , new javax . servlet . http . METHOD_4 ( ) { @ java . lang . Override MOD_0 void METHOD_5 ( final javax . servlet . http . IDENT_2 req , final javax . servlet . http . IDENT_3 IDENT_4 ) throws java . io . IOException { IDENT_4 . METHOD_6 ( ) . write ( STRING_0 ) ; } } ) . METHOD_7 ( STRING_1 ) ) ; } } . METHOD_8 ( ) ) . METHOD_9 ( ) ) { final java . lang . String url = ( STRING_2 + ( container . METHOD_10 ( ) . METHOD_11 ( ) ) ) + STRING_1 ; final java . io . StringWriter output = new java . io . StringWriter ( ) ; try ( final java . io . IDENT_5 stream = new java . io . METHOD_12 ( new java . io . METHOD_13 ( new java . net . URL ( url ) . METHOD_14 ( ) ) ) ) { output . write ( stream . METHOD_15 ( ) ) ; } "<AssertPlaceHolder>" ; } } toString ( ) { return org . apache . IDENT_0 . IDENT_6 . IDENT_7 . IDENT_8 ; }
org . junit . Assert . assertEquals ( STRING_0 , output . toString ( ) . trim ( ) )