array ( ) { byte [ ] array = new byte [ 1 ] ; when ( delegate . array ( ) ) . thenReturn ( array ) ; "<AssertPlaceHolder>" ; } array ( ) { return buffer . array ( ) ; }
org . junit . Assert . assertEquals ( array , buffer . array ( ) )