How can I write a matcher using Mockito that matches any string except a specific one?
I have tried using some hamcrest matchers to negate and combine other matchers, but the hamcrest matchers all return values of type
The solution I used:
argThat is a Mockito matcher,
not is a Hamcrest Matcher