METHOD_0 ( ) { final java . lang . String expected = STRING_0 ; org . glassfish . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 reader = new org . glassfish . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 ( ) { @ org . glassfish . IDENT_0 . IDENT_1 . Override public boolean METHOD_2 ( org . glassfish . IDENT_0 . http . server . IDENT_4 request ) throws java . io . IOException { java . lang . StringBuilder sb = new java . lang . StringBuilder ( 5 ) ; java . io . IDENT_5 in = request . METHOD_3 ( ) ; for ( int j = 0 ; j < 5 ; j ++ ) { sb . append ( ( ( char ) ( in . read ( ) ) ) ) ; } "<AssertPlaceHolder>" ; in . METHOD_4 ( 2 ) ; for ( int j = 0 ; j < 5 ; j ++ ) { sb . append ( ( ( char ) ( in . read ( ) ) ) ) ; } try { in . METHOD_5 ( ) ; org . junit . Assert . fail ( ) ; } catch ( java . io . IOException IDENT_6 ) { } in . close ( ) ; return true ; } } ; METHOD_6 ( METHOD_7 ( STRING_1 , expected ) , reader , INT_0 ) ; } toString ( ) { final java . lang . StringBuilder sb = new java . lang . StringBuilder ( ) ; if ( ( len ) > 0 ) { final org . glassfish . IDENT_0 . IDENT_7 buffer = IDENT_8 . METHOD_8 ( ) ; final int start = ( buffer . position ( ) ) + ( offset ) ; sb . append ( buffer . METHOD_9 ( null , start , ( start + ( len ) ) ) ) ; } return sb . toString ( ) ; }
org . junit . Assert . assertEquals ( expected . substring ( 0 , 5 ) , sb . toString ( ) )