METHOD_0 ( ) { java . lang . String expected = STRING_0 ; java . io . InputStream IDENT_0 = new java . io . ByteArrayInputStream ( expected . getBytes ( IDENT_1 . UTF_8 ) ) ; java . lang . String actual = com . IDENT_2 . IDENT_3 . StringUtils . METHOD_1 ( IDENT_0 , IDENT_1 . UTF_8 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . io . InputStream , java . nio . IDENT_4 . IDENT_5 ) { if ( ( IDENT_6 != null ) && ( ( IDENT_6 . METHOD_2 ( ) ) != ( - 1 ) ) ) { java . io . ByteArrayOutputStream result = new java . io . ByteArrayOutputStream ( ) ; byte [ ] buffer = new byte [ INT_0 ] ; int length ; while ( ( length = IDENT_6 . read ( buffer ) ) != ( - 1 ) ) { result . write ( buffer , 0 , length ) ; } if ( IDENT_4 != null ) { return result . toString ( IDENT_4 . name ( ) ) ; } return result . toString ( IDENT_1 . UTF_8 . name ( ) ) ; } return null ; }
org . junit . Assert . assertEquals ( expected , actual )