I have the following method that I wish to verify behaviour on.
public void methodToTest(Exception e, ActionErrors errors) { ... errors.add("exc
Try something like this:
verify(errors, times(2)) .add(AdditionalMatchers.or(eq("exception.message"), eq("exception.detail")), any(ActionError.class));