METHOD_0 ( ) { org . jboss . IDENT_0 . util . IDENT_1 input = new org . jboss . IDENT_0 . util . METHOD_1 ( new java . io . ByteArrayInputStream ( STRING_0 . getBytes ( STRING_1 ) ) ) ; java . io . ByteArrayOutputStream output = new java . io . ByteArrayOutputStream ( 15 ) ; byte [ ] result = new byte [ 0 ] ; try { int c = 0 ; while ( ( c = input . read ( ) ) != ( - 1 ) ) { output . write ( c ) ; } result = output . toByteArray ( ) ; } finally { org . jboss . IDENT_0 . IDENT_2 . METHOD_2 ( input ) ; org . jboss . IDENT_0 . IDENT_2 . METHOD_2 ( output ) ; } "<AssertPlaceHolder>" ; } METHOD_2 ( java . io . IDENT_3 ) { if ( c != null ) { try { c . close ( ) ; } catch ( java . lang . Exception e ) { IDENT_4 . IDENT_5 . trace ( STRING_2 , e ) ; } } }
org . junit . Assert . assertEquals ( STRING_0 , new java . lang . String ( result , STRING_1 ) )