METHOD_0 ( ) { java . io . File file = new java . io . File ( STRING_0 ) ; file . delete ( ) ; java . io . IDENT_0 out = new java . io . METHOD_1 ( file ) ; out . write ( STRING_1 . getBytes ( ) ) ; out . close ( ) ; final java . io . ByteArrayOutputStream bytes = new java . io . ByteArrayOutputStream ( ) ; com . github . davidmoten . IDENT_1 . IDENT_2 . from ( file ) . METHOD_2 ( new io . IDENT_3 . IDENT_4 . IDENT_5 < byte [ ] > ( ) { @ com . github . davidmoten . IDENT_1 . Override public void accept ( byte [ ] b ) { try { bytes . write ( b ) ; } catch ( java . io . IOException e ) { throw new java . lang . RuntimeException ( ) ; } } } ) . METHOD_3 ( ) ; bytes . close ( ) ; "<AssertPlaceHolder>" ; } close ( ) { return ( ( io . IDENT_3 . IDENT_4 . IDENT_5 < T > ) ( com . github . davidmoten . IDENT_1 . IDENT_6 . IDENT_7 . INSTANCE ) ) ; }
org . junit . Assert . assertArrayEquals ( STRING_1 . getBytes ( ) , bytes . toByteArray ( ) )