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 ( ) ; int IDENT_6 = 0 ; int IDENT_7 = 1 ; int IDENT_8 ; while ( ( IDENT_5 . METHOD_3 ( ) ) == false ) { final byte [ ] IDENT_9 = new byte [ IDENT_7 ] ; java . lang . System . METHOD_4 ( IDENT_4 , IDENT_6 , IDENT_9 , 0 , IDENT_9 . length ) ; IDENT_8 = IDENT_5 . METHOD_5 ( IDENT_9 , 0 ) ; if ( IDENT_8 == 0 ) { IDENT_7 ++ ; } else { IDENT_6 += IDENT_8 ; IDENT_7 = 1 ; } } final byte [ ] IDENT_10 = IDENT_5 . toByteArray ( ) ; "<AssertPlaceHolder>" ; } toByteArray ( ) { if ( ( ( IDENT_11 ) == null ) || ( ( IDENT_12 ) == null ) ) { throw new com . amazonaws . IDENT_1 . exception . METHOD_6 ( STRING_2 ) ; } final byte [ ] IDENT_13 = METHOD_7 ( ) ; final int IDENT_14 = ( ( IDENT_13 . length ) + ( IDENT_11 . length ) ) + ( IDENT_12 . length ) ; final java . nio . ByteBuffer IDENT_15 = java . nio . ByteBuffer . METHOD_8 ( IDENT_14 ) ; IDENT_15 . put ( IDENT_13 ) ; IDENT_15 . put ( IDENT_11 ) ; IDENT_15 . put ( IDENT_12 ) ; return IDENT_15 . array ( ) ; }
org . junit . Assert . assertArrayEquals ( IDENT_4 , IDENT_10 )