METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; byte [ ] content = IDENT_0 . getBytes ( ) ; final java . io . InputStream in = new java . io . ByteArrayInputStream ( content ) ; com . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 mock = com . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_6 . METHOD_1 ( name , in ) ; java . io . ByteArrayOutputStream out = new java . io . ByteArrayOutputStream ( ) ; com . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_7 IDENT_8 = new com . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_6 . METHOD_2 ( name , mock ) ; java . lang . String expected = ( ( ( STRING_1 + ( name ) ) + STRING_2 ) + IDENT_0 ) + STRING_3 ; IDENT_8 . write ( out ) ; byte [ ] result = out . toByteArray ( ) ; "<AssertPlaceHolder>" ; } write ( java . io . IDENT_9 ) { METHOD_3 ( out ) ; METHOD_4 ( out ) ; METHOD_5 ( out ) ; METHOD_6 ( out ) ; METHOD_7 ( out ) ; METHOD_6 ( out ) ; METHOD_8 ( out ) ; METHOD_6 ( out ) ; }
org . junit . Assert . assertThat ( new java . lang . String ( result ) , org . hamcrest . CoreMatchers . is ( expected ) )