With Mockito I can do the following:
verify(someService).process(any(Person.class));
But how do I write this if process takes
process
Try:
verify(someService).process(Matchers.>any());
Actually, IntelliJ automatically suggested this fix when I typed any()... Unfortunately you cannot use static import in this case.
any()