Modifier and Type | Method and Description |
---|---|
Ordered |
IterableSubject.containsAllIn(Iterable<?> expected)
Attests that the subject contains at least all of the provided objects
or fails, potentially permitting duplicates in both the subject and the
parameters (if the subject even can have duplicates).
|
Ordered |
IterableSubject.containsAllOf(Object first,
Object second,
Object... rest)
Attests that the subject contains at least all of the provided objects
or fails, potentially permitting duplicates in both the subject and the
parameters (if the subject even can have duplicates).
|
Ordered |
MapSubject.containsExactly()
Fails if the map is not empty.
|
Ordered |
MultimapSubject.containsExactly(com.google.common.collect.Multimap<?,?> expectedMultimap)
Deprecated.
|
Ordered |
IterableSubject.containsExactly(Object... varargs)
Attests that a subject contains exactly the provided objects or fails.
|
Ordered |
MapSubject.containsExactly(Object k0,
Object v0,
Object... rest)
Fails if the map does not contain exactly the given set of key/value pairs.
|
Ordered |
IterableSubject.containsExactlyElementsIn(Iterable<?> expected)
Attests that a subject contains exactly the provided objects or fails.
|
Ordered |
MapSubject.containsExactlyEntriesIn(Map<?,?> expectedMap)
Fails if the map does not contain exactly the given set of entries in the given map.
|
Ordered |
MultimapSubject.containsExactlyEntriesIn(com.google.common.collect.Multimap<?,?> expectedMultimap)
Fails if the Multimap does not contain precisely the same entries as the argument Multimap.
|
Copyright © 2015. All Rights Reserved.