METHOD_0 ( ) { com . amazonaws . IDENT_0 . IDENT_1 IDENT_2 = new com . amazonaws . IDENT_0 . METHOD_1 ( ) ; byte [ ] value = new byte [ ] { 1 , 2 , 3 , 4 } ; IDENT_2 . setValue ( value ) ; java . io . ByteArrayOutputStream buf = new java . io . ByteArrayOutputStream ( ) ; java . io . IDENT_3 out = new java . io . METHOD_2 ( buf ) ; adapter . METHOD_3 ( IDENT_2 , out ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( com . amazonaws . IDENT_0 . IDENT_4 , java . io . METHOD_2 ) { com . amazonaws . IDENT_0 . IDENT_5 IDENT_6 = ( ( com . amazonaws . IDENT_0 . IDENT_5 ) ( IDENT_2 ) ) ; out . METHOD_4 ( IDENT_6 . METHOD_5 ( ) ) ; out . write ( IDENT_6 . getValue ( ) ) ; }
org . junit . Assert . assertArrayEquals ( value , buf . toByteArray ( ) )