METHOD_0 ( ) { javax . servlet . IDENT_0 servlet = new javax . servlet . http . METHOD_1 ( ) { MOD_0 MOD_1 final long IDENT_1 = 1L ; @ org . eclipse . IDENT_2 . http . servlet . tests . Override MOD_2 void METHOD_2 ( javax . servlet . http . IDENT_3 req , javax . servlet . http . IDENT_4 IDENT_5 ) throws java . io . IOException , javax . servlet . IDENT_6 { IDENT_5 . METHOD_3 ( ) . write ( STRING_0 ) ; IDENT_5 . METHOD_4 ( ) ; throw new java . io . IOException ( ) ; } } ; java . util . IDENT_7 < java . lang . String , java . lang . Object > props = new java . util . IDENT_8 < java . lang . String , java . lang . Object > ( ) ; props . put ( IDENT_9 . IDENT_10 , STRING_1 ) ; props . put ( IDENT_9 . IDENT_11 , STRING_2 ) ; IDENT_12 . add ( METHOD_5 ( ) . METHOD_6 ( javax . servlet . IDENT_0 . class , servlet , props ) ) ; try { IDENT_13 . request ( STRING_3 ) ; } catch ( java . lang . Exception e ) { "<AssertPlaceHolder>" ; return ; } org . junit . Assert . fail ( STRING_4 ) ; } request ( java . lang . String ) { java . lang . String spec = METHOD_7 ( value ) ; log ( ( STRING_5 + spec ) ) ; java . net . URL url = new java . net . URL ( spec ) ; java . net . IDENT_14 connection = ( ( java . net . IDENT_14 ) ( url . METHOD_8 ( ) ) ) ; connection . METHOD_9 ( false ) ; connection . METHOD_10 ( ( INT_0 * INT_1 ) ) ; connection . METHOD_11 ( ( INT_0 * INT_1 ) ) ; connection . connect ( ) ; java . io . InputStream stream = connection . METHOD_12 ( ) ; try { return METHOD_13 ( stream ) ; } finally { stream . close ( ) ; } }
org . junit . Assert . assertTrue ( ( e instanceof java . io . IOException ) )