With Mockito I can do the following:
verify(someService).process(any(Person.class));
But how do I write this if process takes
process
if you use a own method, you can even use static import:
private Collection anyPersonCollection() { return any(); }
Then you can use
verify(someService).process(anyPersonCollection());