METHOD_0 ( ) { org . apache . IDENT_0 . Response res = new org . apache . IDENT_0 . Response ( ) ; org . apache . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = new org . apache . IDENT_0 . IDENT_1 . METHOD_1 ( res , ( 8 * INT_0 ) ) ; java . io . ByteArrayOutputStream IDENT_4 = new java . io . ByteArrayOutputStream ( ) ; IDENT_3 . IDENT_5 = IDENT_4 ; res . METHOD_2 ( IDENT_3 ) ; org . apache . IDENT_0 . IDENT_1 . filters . IDENT_6 IDENT_7 = new org . apache . IDENT_0 . IDENT_1 . filters . METHOD_3 ( ) ; IDENT_3 . METHOD_4 ( IDENT_7 ) ; IDENT_3 . METHOD_5 ( IDENT_7 ) ; org . apache . tomcat . util . buf . IDENT_8 IDENT_9 = new org . apache . tomcat . util . buf . METHOD_6 ( INT_0 ) ; byte [ ] d = STRING_0 . getBytes ( ) ; IDENT_9 . append ( d , 0 , d . length ) ; IDENT_3 . METHOD_7 ( IDENT_9 , res ) ; IDENT_3 . METHOD_8 ( ) ; byte [ ] IDENT_10 = IDENT_4 . toByteArray ( ) ; java . io . ByteArrayOutputStream IDENT_11 = new java . io . ByteArrayOutputStream ( INT_0 ) ; java . util . IDENT_12 . IDENT_13 IDENT_14 = new java . util . IDENT_12 . METHOD_9 ( IDENT_11 ) ; IDENT_14 . write ( d ) ; IDENT_14 . close ( ) ; byte [ ] IDENT_15 = IDENT_11 . toByteArray ( ) ; "<AssertPlaceHolder>" ; } toByteArray ( ) { int IDENT_16 = count ; if ( IDENT_16 == 0 ) { return org . apache . tomcat . util . http . IDENT_17 . ByteArrayOutputStream . IDENT_18 ; } final byte [ ] IDENT_19 = new byte [ IDENT_16 ] ; int pos = 0 ; for ( final byte [ ] buf : IDENT_20 ) { final int c = java . lang . Math . min ( buf . length , IDENT_16 ) ; java . lang . System . METHOD_10 ( buf , 0 , IDENT_19 , pos , c ) ; pos += c ; IDENT_16 OP_0 c ; if ( IDENT_16 == 0 ) { break ; } } return IDENT_19 ; }
org . junit . Assert . assertTrue ( ( ( IDENT_10 . length ) >= ( ( IDENT_15 . length ) - 20 ) ) )