Hi,
we are having the following method on our
interface: findByRoles(String… roles)
We are calling it like that: findByRole(“admin”);
We tried to set the expectation one(…).findByRoles(with(equal(Constants.ADMIN));
Which caused unexpectedInvocationException.
Is there a special handling for that kind
of parameters (variable length arguments)?
Thanks
Rene