With Mockito, I want to verify() a method call with byte[] in its argument list, but I didn\'t find how to write this.
verify()
byte[]
myMethod( byte[
You can use Mockito.any() when arguments are arrays also. I used it like this:
verify(myMock, times(0)).setContents(any(), any());
I would rather use Matchers.<byte[]>any(). This worked for me.
Matchers.<byte[]>any()