Skip to content

Releases: JeroenMols/MockitoCollectionMatchers

0.0.3

11 Nov 10:08
Compare
Choose a tag to compare

Unit tests for all matchers.
Added two new Matchers:

  • verify(mock).someMethod(listContainsNull());
  • verify(mock).someMethod(listDoesNotContainNull());

List Matchers for object at index

03 Nov 12:09
Compare
Choose a tag to compare

Added new matchers

  • verify(mock).someMethod(listContains(expectedObject, expectedObject2));
  • verify(mock).someMethod(listContains(expectedObject, index));
  • verify(mock).someMethod(listDoesNotContain(wrongObject, expectedObject3));
  • verify(mock).someMethod(listDoesNotContain(wrongObject, index));