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