METHOD_0 ( ) { final byte [ ] IDENT_0 = STRING_0 . getBytes ( ) ; org . apache . IDENT_1 . crypto . IDENT_2 . bytes . IDENT_3 header = mock ( org . apache . IDENT_1 . crypto . IDENT_2 . bytes . IDENT_3 . class ) ; doReturn ( IDENT_0 . length ) . when ( header ) . size ( ) ; METHOD_1 ( new org . mockito . IDENT_4 . IDENT_5 < java . lang . IDENT_6 > ( ) { @ org . apache . IDENT_1 . crypto . IDENT_2 . bytes . Override public org . apache . IDENT_1 . crypto . IDENT_2 . bytes . IDENT_6 METHOD_2 ( org . mockito . IDENT_7 . IDENT_8 IDENT_7 ) throws java . lang . Throwable { byte [ ] input = ( ( byte [ ] ) ( IDENT_7 . METHOD_3 ( ) [ 0 ] ) ) ; java . lang . System . METHOD_4 ( IDENT_0 , 0 , input , 0 , IDENT_0 . length ) ; return null ; } } ) . when ( header ) . store ( any ( byte [ ] . class ) , METHOD_5 ( ) , METHOD_6 ( ) ) ; java . security . IDENT_9 key = new javax . crypto . spec . METHOD_7 ( STRING_1 . getBytes ( ) , STRING_2 ) ; org . apache . IDENT_1 . crypto . IDENT_2 . bytes . IDENT_10 IDENT_11 = new org . apache . IDENT_1 . crypto . IDENT_2 . bytes . METHOD_8 ( header , key ) { } ; byte [ ] IDENT_12 = IDENT_11 . METHOD_0 ( STRING_3 . getBytes ( ) ) ; byte [ ] IDENT_13 = org . apache . IDENT_1 . crypto . unit . IDENT_14 . METHOD_9 ( STRING_4 ) ; "<AssertPlaceHolder>" ; } METHOD_9 ( java . lang . String ) { byte [ ] bytes = new java . math . BigInteger ( IDENT_15 , 16 ) . toByteArray ( ) ; if ( ( ( bytes . length ) > 0 ) && ( ( bytes [ 0 ] ) == 0 ) ) { return java . util . Arrays . METHOD_10 ( bytes , 1 , bytes . length ) ; } else { return bytes ; } }
org . junit . Assert . assertArrayEquals ( IDENT_13 , IDENT_12 )