METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; byte [ ] IDENT_1 = STRING_1 . getBytes ( IDENT_2 . UTF_8 ) ; byte [ ] IDENT_3 = STRING_2 . getBytes ( IDENT_2 . UTF_8 ) ; org . apache . IDENT_4 . spi . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 . IDENT_10 IDENT_11 = org . mockito . Mockito . METHOD_1 ( new org . apache . IDENT_4 . spi . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 . METHOD_2 ( ) ) ; IDENT_11 . METHOD_3 ( IDENT_0 ) . METHOD_4 ( new com . amazonaws . auth . METHOD_5 ( STRING_3 , STRING_3 ) ) . METHOD_6 ( com . amazonaws . IDENT_12 . IDENT_13 . METHOD_7 ( IDENT_14 . IDENT_15 ) ) ; com . amazonaws . IDENT_16 . IDENT_17 IDENT_18 = org . mockito . Mockito . mock ( com . amazonaws . IDENT_16 . IDENT_17 . class ) ; com . amazonaws . IDENT_16 . IDENT_19 . IDENT_20 IDENT_21 = org . mockito . Mockito . mock ( com . amazonaws . IDENT_16 . IDENT_19 . IDENT_20 . class ) ; com . amazonaws . IDENT_16 . IDENT_22 IDENT_23 = org . mockito . Mockito . mock ( com . amazonaws . IDENT_16 . IDENT_22 . class ) ; com . amazonaws . IDENT_16 . IDENT_22 IDENT_24 = org . mockito . Mockito . mock ( com . amazonaws . IDENT_16 . IDENT_22 . class ) ; org . mockito . Mockito . doReturn ( IDENT_18 ) . when ( IDENT_11 ) . METHOD_8 ( ) ; org . mockito . Mockito . doReturn ( IDENT_21 ) . when ( IDENT_11 ) . METHOD_9 ( ) ; IDENT_11 . init ( ) ; org . mockito . Mockito . doReturn ( IDENT_23 ) . when ( IDENT_18 ) . METHOD_10 ( IDENT_21 , IDENT_1 ) ; org . mockito . Mockito . doReturn ( IDENT_3 ) . when ( IDENT_23 ) . METHOD_11 ( ) ; org . mockito . Mockito . doReturn ( IDENT_24 ) . when ( IDENT_18 ) . METHOD_12 ( IDENT_21 , IDENT_3 ) ; org . mockito . Mockito . doReturn ( java . util . Arrays . asList ( IDENT_0 ) ) . when ( IDENT_24 ) . METHOD_13 ( ) ; org . mockito . Mockito . doReturn ( IDENT_1 ) . when ( IDENT_24 ) . METHOD_11 ( ) ; byte [ ] IDENT_25 = IDENT_11 . METHOD_14 ( IDENT_1 ) ; byte [ ] IDENT_26 = IDENT_11 . METHOD_15 ( IDENT_25 ) ; "<AssertPlaceHolder>" ; } METHOD_15 ( byte [ ] ) { if ( ( ( crypto ) == null ) || ( ( IDENT_21 ) == null ) ) throw new org . apache . IDENT_4 . METHOD_16 ( STRING_4 ) ; com . amazonaws . IDENT_16 . IDENT_22 < byte [ ] , com . amazonaws . IDENT_16 . IDENT_19 . IDENT_27 > IDENT_28 = crypto . METHOD_12 ( IDENT_21 , data ) ; java . util . List < java . lang . String > IDENT_29 = IDENT_28 . METHOD_13 ( ) ; if ( ( IDENT_29 != null ) && ( ! ( IDENT_29 . contains ( IDENT_30 ) ) ) ) throw new org . apache . IDENT_4 . METHOD_16 ( STRING_5 ) ; return IDENT_28 . METHOD_11 ( ) ; }
org . junit . Assert . assertArrayEquals ( IDENT_1 , IDENT_26 )