[easymock] I understand mock objects, but can't subtract?!?
Unexpected method call createRelative("sub/"):
createRelative("sub/"): expected: 1, actual: 1 (+1)
This is the epitome of programmer FAIL. While I appreciate the effort to show me the difference in actual vs. expected, the actual actual is not shown. How about:
Unexpected method call createRelative("sub/"):
createRelative("sub/"): expected: 1, actual: 2 (+1)
Since this, you know, reflects what actually happened using accepted practices in the English language of the word “actual”, a colon and the number “2”.
9 months ago