METHOD_0 ( ) { java . lang . String IDENT_0 = org . apache . commons . lang3 . IDENT_1 . METHOD_1 ( 8 ) ; org . baeldung . java . io . InputStream IDENT_2 = new org . baeldung . java . io . ByteArrayInputStream ( IDENT_0 . getBytes ( ) ) ; org . baeldung . java . io . ByteArrayOutputStream buffer = new org . baeldung . java . io . ByteArrayOutputStream ( ) ; int IDENT_3 ; byte [ ] data = new byte [ INT_0 ] ; while ( ( IDENT_3 = IDENT_2 . read ( data , 0 , data . length ) ) != ( - 1 ) ) { buffer . write ( data , 0 , IDENT_3 ) ; } buffer . METHOD_2 ( ) ; byte [ ] IDENT_4 = buffer . toByteArray ( ) ; java . lang . String text = new java . lang . String ( IDENT_4 , java . nio . IDENT_5 . IDENT_6 . UTF_8 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { }
org . junit . Assert . assertThat ( text , org . hamcrest . Matchers . equalTo ( IDENT_0 ) )