METHOD_0 ( ) { int IDENT_0 = INT_0 ; org . apache . IDENT_1 . IDENT_2 . IDENT_3 tomcat = METHOD_1 ( ) ; tomcat . METHOD_2 ( ) . setProperty ( STRING_0 , java . lang . Integer . toString ( IDENT_0 ) ) ; org . apache . IDENT_1 . Context ctx = tomcat . METHOD_3 ( "" , null ) ; org . apache . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 servlet = new org . apache . IDENT_4 . IDENT_5 . IDENT_6 . METHOD_4 ( INT_1 , INT_0 ) ; org . apache . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_5 ( ctx , STRING_1 , servlet ) ; ctx . METHOD_6 ( "/" , STRING_1 ) ; tomcat . start ( ) ; org . apache . IDENT_4 . IDENT_5 . IDENT_8 IDENT_9 = new org . apache . IDENT_4 . IDENT_5 . METHOD_7 ( IDENT_0 ) ; IDENT_9 . METHOD_8 ( METHOD_9 ( ) ) ; IDENT_9 . connect ( ) ; METHOD_10 ( IDENT_9 . METHOD_11 ( ) ) ; IDENT_9 . METHOD_12 ( "/" ) ; org . apache . IDENT_4 . IDENT_5 . IDENT_10 IDENT_11 = IDENT_9 . METHOD_13 ( ) ; IDENT_11 . end ( ) ; org . apache . IDENT_4 . IDENT_5 . IDENT_10 IDENT_12 = IDENT_9 . METHOD_14 ( IDENT_11 ) ; METHOD_15 ( IDENT_12 , 200 , STRING_2 ) ; org . apache . IDENT_4 . IDENT_5 . IDENT_10 IDENT_13 = IDENT_9 . METHOD_16 ( ) ; "<AssertPlaceHolder>" ; METHOD_17 ( IDENT_9 . METHOD_16 ( ) , true ) ; METHOD_10 ( IDENT_9 . METHOD_11 ( ) ) ; IDENT_9 . METHOD_18 ( ) ; } METHOD_16 ( ) { java . io . InputStream is = IDENT_14 . METHOD_19 ( ) ; org . apache . IDENT_4 . IDENT_5 . IDENT_10 message = new org . apache . IDENT_4 . IDENT_5 . METHOD_20 ( IDENT_15 ) ; byte [ ] buf = message . METHOD_21 ( ) ; int IDENT_16 = message . METHOD_22 ( ) ; read ( is , buf , 0 , IDENT_16 ) ; int IDENT_17 = message . METHOD_23 ( false ) ; if ( IDENT_17 < 0 ) { throw new java . io . IOException ( STRING_3 ) ; } else if ( IDENT_17 == 0 ) { return message ; } else { if ( IDENT_17 > ( buf . length ) ) { throw new java . lang . IllegalArgumentException ( ( ( ( ( STRING_4 + ( java . lang . Integer . valueOf ( IDENT_17 ) ) ) + STRING_5 ) + ( java . lang . Integer . valueOf ( buf . length ) ) ) + "]" ) ) ; } read ( is , buf , IDENT_16 , IDENT_17 ) ; return message ; } }
org . junit . Assert . assertTrue ( ( ( IDENT_13 . len ) > INT_1 ) )