METHOD_0 ( ) { final java . lang . String str = STRING_0 ; final java . lang . StringBuilder sb = new java . lang . StringBuilder ( ) ; for ( int i = 0 ; i < 100 ; i ++ ) { sb . append ( str ) ; } final byte [ ] data = sb . toString ( ) . getBytes ( STRING_1 ) ; final java . io . ByteArrayOutputStream IDENT_0 = new java . io . ByteArrayOutputStream ( ) ; final org . apache . nifi . remote . io . IDENT_1 IDENT_2 = new org . apache . nifi . remote . io . METHOD_1 ( IDENT_0 , INT_0 ) ; IDENT_2 . write ( data ) ; IDENT_2 . METHOD_2 ( ) ; IDENT_2 . close ( ) ; final byte [ ] IDENT_3 = IDENT_0 . toByteArray ( ) ; final org . apache . nifi . remote . io . IDENT_4 IDENT_5 = new org . apache . nifi . remote . io . METHOD_3 ( new java . io . ByteArrayInputStream ( IDENT_3 ) ) ; final byte [ ] IDENT_6 = METHOD_4 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . io . InputStream ) { final byte [ ] buffer = new byte [ INT_1 ] ; int len ; final java . io . ByteArrayOutputStream IDENT_0 = new java . io . ByteArrayOutputStream ( ) ; while ( ( len = in . read ( buffer ) ) >= 0 ) { IDENT_0 . write ( buffer , 0 , len ) ; } return IDENT_0 . toByteArray ( ) ; }
org . junit . Assert . assertTrue ( java . util . Arrays . equals ( data , IDENT_6 ) )