I have a question related to jmock library. I am trying to make fun of a method that has a long[] and with(any()) parameter. Is there a direct way to do this?
long[]
with(any())
public class A { public void Method_A(long[] a) { //Do Somthing. need to mocking } }
Yes. Just use any(long[].class) .
any(long[].class)