static <K,V> MultimapAssert<K,V> |
Assertions.assertThat(com.google.common.collect.Multimap<K,V> actual) |
|
MultimapAssert<K,V> |
MultimapAssert.contains(org.assertj.core.data.MapEntry<K,V>... entries) |
Verifies that the actual Multimap contains the given entries.
|
MultimapAssert<K,V> |
MultimapAssert.containsAllEntriesOf(com.google.common.collect.Multimap<? extends K,? extends V> other) |
Verifies that the actual Multimap contains all entries of the given one (it might contain more entries).
|
MultimapAssert<K,V> |
MultimapAssert.containsKeys(K... keys) |
Verifies that the actual Multimap contains the given keys.
|
MultimapAssert<K,V> |
MultimapAssert.containsValues(V... values) |
Verifies that the actual Multimap contains the given values for any key.
|
MultimapAssert<K,V> |
MultimapAssert.hasSameEntriesAs(com.google.common.collect.Multimap<? extends K,? extends V> other) |
Verifies that the actual Multimap has the same entries as the given one.
It allows to compare two multimaps having the same content but who are not equal because being of different types
like SetMultimap and ListMultimap .
|
MultimapAssert<K,V> |
MultimapAssert.hasSize(int expectedSize) |
Verifies that the number of values in the actual Multimap is equal to the given one.
|