METHOD_0 ( ) { org . easymock . EasyMock . METHOD_1 ( IDENT_0 ) ; org . easymock . EasyMock . expect ( IDENT_0 . METHOD_2 ( ) ) . andReturn ( IDENT_1 . IDENT_2 ) ; byte [ ] IDENT_3 = STRING_0 . getBytes ( StringUtils . IDENT_4 ) ; java . io . ByteArrayOutputStream IDENT_5 = new java . io . ByteArrayOutputStream ( ) ; com . amazonaws . services . IDENT_6 . model . IDENT_7 IDENT_8 = org . easymock . EasyMock . METHOD_3 ( com . amazonaws . services . IDENT_6 . model . IDENT_7 . class ) ; java . io . ByteArrayInputStream IDENT_9 = new java . io . ByteArrayInputStream ( IDENT_3 ) ; com . amazonaws . services . IDENT_6 . model . IDENT_10 IDENT_11 = new com . amazonaws . services . IDENT_6 . model . METHOD_4 ( IDENT_9 , null ) ; org . easymock . EasyMock . expect ( IDENT_0 . METHOD_5 ( METHOD_6 ( com . amazonaws . services . IDENT_6 . model . IDENT_12 . class ) ) ) . andReturn ( IDENT_8 ) ; org . easymock . EasyMock . expect ( IDENT_8 . METHOD_7 ( ) ) . andReturn ( IDENT_11 ) ; org . easymock . EasyMock . expect ( IDENT_8 . METHOD_8 ( ) ) . andReturn ( new com . amazonaws . services . IDENT_6 . model . METHOD_9 ( ) ) ; org . easymock . EasyMock . replay ( IDENT_0 , IDENT_8 ) ; mapper . METHOD_10 ( ) . METHOD_11 ( IDENT_0 ) ; com . amazonaws . IDENT_13 . IDENT_14 . IDENT_15 . IDENT_16 IDENT_17 = mapper . METHOD_12 ( IDENT_18 , key ) ; IDENT_17 . METHOD_13 ( IDENT_5 ) ; org . easymock . EasyMock . verify ( IDENT_0 , IDENT_8 ) ; "<AssertPlaceHolder>" ; } verify ( java . lang . String , javax . net . IDENT_19 . IDENT_20 ) { return true ; }
org . junit . Assert . assertArrayEquals ( IDENT_3 , IDENT_5 . toByteArray ( ) )