Mockito ArgumentMatcher saying Arguments are Different
Like you said, it fails because the arguments are different. Take a look at the test below and you’ll see that the second test method will fail because the status in your MyClass instance is different from SomeStatus that you passed in the matcher. public class MatcherTest { class MyClass{ private String status; MyClass(String status) … Read more