public final class MultimapSubject.UsingCorrespondence<A,E> extends Object
Multimap
under test) are compared to expected values using a Correspondence
. The
expected values are of type E
. Call methods on this object to actually execute the
proposition.
Note that keys will always be compared with regular object equality (Object.equals(java.lang.Object)
).
Modifier and Type | Method and Description |
---|---|
void |
containsEntry(Object expectedKey,
E expectedValue)
Fails if the multimap does not contain an entry with the given key and a value that
corresponds to the given value.
|
void |
doesNotContainEntry(Object excludedKey,
E excludedValue)
Fails if the multimap contains an entry with the given key and a value that corresponds to
the given value.
|
Copyright © 2016. All Rights Reserved.