METHOD_0 ( ) { final java . io . File file = java . io . File . METHOD_1 ( "test" , "test" ) ; org . bonitasoft . engine . io . IDENT_0 . METHOD_2 ( STRING_0 , file ) ; "<AssertPlaceHolder>" ; file . delete ( ) ; } METHOD_3 ( java . io . InputStream ) { if ( in == null ) { throw new java . io . IOException ( STRING_1 ) ; } final byte [ ] buffer = new byte [ org . bonitasoft . engine . io . IDENT_0 . IDENT_1 ] ; final byte [ ] IDENT_2 ; try ( java . io . IDENT_3 IDENT_4 = new java . io . METHOD_4 ( in ) ; java . io . ByteArrayOutputStream result = new java . io . ByteArrayOutputStream ( ) ) { int IDENT_5 ; while ( ( IDENT_5 = IDENT_4 . read ( buffer ) ) > 0 ) { result . write ( buffer , 0 , IDENT_5 ) ; } IDENT_2 = result . toByteArray ( ) ; result . METHOD_5 ( ) ; } return IDENT_2 ; }
org . junit . Assert . assertEquals ( STRING_0 , new java . lang . String ( org . bonitasoft . engine . io . IDENT_0 . METHOD_3 ( file ) ) )