METHOD_0 ( ) { java . io . ByteArrayOutputStream payload = new java . io . ByteArrayOutputStream ( ) ; org . IDENT_0 . core . IDENT_1 . METHOD_1 ( payload ) . METHOD_2 ( buffer . getId ( ) ) . close ( ) ; byte [ ] IDENT_2 = payload . toByteArray ( ) ; java . io . ByteArrayOutputStream out = new java . io . ByteArrayOutputStream ( ) ; org . IDENT_0 . core . IDENT_1 . METHOD_1 ( out ) . METHOD_3 ( com . IDENT_3 . IDENT_4 . IDENT_5 , IDENT_2 . length ) . METHOD_4 ( IDENT_2 ) . close ( ) ; com . IDENT_3 . IDENT_6 b = IDENT_7 . METHOD_5 ( out . toByteArray ( ) , com . IDENT_3 . IDENT_6 . class ) ; "<AssertPlaceHolder>" ; } close ( ) { }
org . junit . Assert . assertThat ( b , org . hamcrest . core . Is . is ( buffer ) )