METHOD_0 ( ) { org . eclipse . IDENT_0 . http . servlet . IDENT_1 IDENT_2 = ( ( org . eclipse . IDENT_0 . http . servlet . IDENT_1 ) ( METHOD_1 ( ) ) ) ; org . osgi . service . http . IDENT_3 IDENT_4 = new org . osgi . service . http . METHOD_2 ( ) { @ org . eclipse . IDENT_0 . http . servlet . tests . Override public boolean METHOD_3 ( javax . servlet . http . IDENT_5 request , javax . servlet . http . IDENT_6 response ) throws java . io . IOException { request . METHOD_4 ( METHOD_2 . IDENT_7 , STRING_0 ) ; request . METHOD_4 ( METHOD_2 . IDENT_8 , STRING_1 ) ; return true ; } @ org . eclipse . IDENT_0 . http . servlet . tests . Override public java . net . URL getResource ( java . lang . String name ) { return null ; } @ org . eclipse . IDENT_0 . http . servlet . tests . Override public java . lang . String METHOD_5 ( java . lang . String name ) { return null ; } } ; javax . servlet . http . IDENT_9 IDENT_10 = new javax . servlet . http . METHOD_6 ( ) { MOD_0 MOD_1 final long IDENT_11 = 1L ; @ org . eclipse . IDENT_0 . http . servlet . tests . Override MOD_2 void METHOD_7 ( javax . servlet . http . IDENT_5 req , javax . servlet . http . IDENT_6 IDENT_12 ) throws java . io . IOException , javax . servlet . IDENT_13 { IDENT_12 . METHOD_8 ( STRING_2 ) ; java . io . IDENT_14 out = IDENT_12 . METHOD_9 ( ) ; out . METHOD_10 ( ( ( ( STRING_3 + ( req . METHOD_11 ( ) ) ) + STRING_4 ) + ( req . METHOD_12 ( ) ) ) ) ; } } ; IDENT_2 . METHOD_13 ( ( "/" + ( IDENT_15 . METHOD_14 ( ) ) ) , IDENT_10 , null , IDENT_4 ) ; java . lang . String expected = STRING_5 ; java . lang . String actual = IDENT_16 . request ( IDENT_15 . METHOD_14 ( ) ) ; "<AssertPlaceHolder>" ; } request ( java . lang . String ) { java . lang . String spec = METHOD_15 ( value ) ; log ( ( STRING_6 + spec ) ) ; java . net . URL url = new java . net . URL ( spec ) ; java . net . IDENT_17 connection = ( ( java . net . IDENT_17 ) ( url . METHOD_16 ( ) ) ) ; connection . METHOD_17 ( false ) ; connection . METHOD_18 ( ( INT_0 * INT_1 ) ) ; connection . METHOD_19 ( ( INT_0 * INT_1 ) ) ; connection . connect ( ) ; java . io . InputStream stream = connection . METHOD_20 ( ) ; try { return METHOD_21 ( stream ) ; } finally { stream . close ( ) ; } }
org . junit . Assert . assertEquals ( expected , actual )