Package fr.gouv.vitam.common.mockito
Class UnorderedListMatcher<T extends Comparable<? super T>>
java.lang.Object
fr.gouv.vitam.common.mockito.UnorderedListMatcher<T>
- All Implemented Interfaces:
org.mockito.ArgumentMatcher<List<T>>
public class UnorderedListMatcher<T extends Comparable<? super T>>
extends Object
implements org.mockito.ArgumentMatcher<List<T>>
Mockito Matcher that checks unordered list equality to avoid order validation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Comparable<? super T>>
List<T>eqUnorderedList
(T... items) boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.mockito.ArgumentMatcher
type
-
Constructor Details
-
UnorderedListMatcher
-
-
Method Details
-
matches
- Specified by:
matches
in interfaceorg.mockito.ArgumentMatcher<T extends Comparable<? super T>>
-
eqUnorderedList
-