I have fixed the issue by displaying the ok message of the matcher
when there's a failure.
In your case that will give:
Argument(s) are different! Wanted:
mongoDiscontinuousTimeline.add(actual is same as expected)
);
Actual invocation has different arguments:
mongoDiscontinuousTimeline.add(
ScheduledDowntimeInterval(did,
1969-12-31T16:00:00.000/292278994-08-17T00:12:55.807,4bff06b9da9db946136f7a
dd)
)
That may not be the best message in your case but that's the only
generic way to deal with any kind of Matcher. Maybe in your case you
can just output the expected value as the "ok message" of your
matcher?
E.