METHOD_0 ( ) { final com . amazonaws . IDENT_0 . model . IDENT_1 IDENT_2 = new com . amazonaws . IDENT_0 . model . METHOD_1 ( IDENT_3 , IDENT_4 ) ; final byte [ ] IDENT_5 = IDENT_2 . toByteArray ( ) ; final com . amazonaws . IDENT_0 . model . METHOD_1 IDENT_6 = new com . amazonaws . IDENT_0 . model . METHOD_1 ( ) ; IDENT_6 . METHOD_2 ( ( ( short ) ( IDENT_7 ) ) ) ; IDENT_6 . METHOD_3 ( IDENT_5 , 0 ) ; final byte [ ] IDENT_8 = IDENT_6 . toByteArray ( ) ; "<AssertPlaceHolder>" ; } toByteArray ( ) { if ( ( ( IDENT_9 ) == null ) || ( ( IDENT_10 ) == null ) ) { throw new com . amazonaws . IDENT_0 . exception . METHOD_4 ( STRING_0 ) ; } final byte [ ] IDENT_11 = METHOD_5 ( ) ; final int IDENT_12 = ( ( IDENT_11 . length ) + ( IDENT_9 . length ) ) + ( IDENT_10 . length ) ; final java . nio . ByteBuffer IDENT_13 = java . nio . ByteBuffer . METHOD_6 ( IDENT_12 ) ; IDENT_13 . put ( IDENT_11 ) ; IDENT_13 . put ( IDENT_9 ) ; IDENT_13 . put ( IDENT_10 ) ; return IDENT_13 . array ( ) ; }
org . junit . Assert . assertArrayEquals ( IDENT_5 , IDENT_8 )