Mockito matcher and array of primitives

java, mockito

Solution

I would try `any(byte[].class)`

Problem

With Mockito, I want to `verify()` a method call with `byte[]` in its argument list, but I didn't find how to write this. ``` myMethod( byte[] ) ``` I just want something like `anyByteArray()`, how to do that with Mockito ?

Original source