getBytes ( ) { int length = 3 ; byte [ ] bytes = new byte [ ] { 1 , 2 , 3 } ; doReturn ( IDENT_0 . IDENT_1 ) . when ( IDENT_2 ) . METHOD_0 ( ) ; doReturn ( length ) . when ( IDENT_2 ) . METHOD_1 ( ) ; doReturn ( bytes ) . when ( IDENT_2 ) . read ( length ) ; byte [ ] IDENT_3 = IDENT_4 . getBytes ( ) ; "<AssertPlaceHolder>" ; } getBytes ( ) { com . IDENT_5 . IDENT_6 . redis . client . IDENT_7 IDENT_2 = METHOD_2 ( ) ; METHOD_3 ( IDENT_2 , IDENT_0 . IDENT_1 ) ; int length = IDENT_2 . METHOD_1 ( ) ; return IDENT_2 . read ( length ) ; }
org . junit . Assert . assertArrayEquals ( bytes , IDENT_3 )