Uses of Class
org.assertj.guava.api.MultimapAssert
Packages that use MultimapAssert
-
Uses of MultimapAssert in org.assertj.guava.api
Fields in org.assertj.guava.api with type parameters of type MultimapAssertModifier and TypeFieldDescriptionstatic final InstanceOfAssertFactory<Multimap,
MultimapAssert<Object, Object>> InstanceOfAssertFactories.MULTIMAP
Methods in org.assertj.guava.api that return MultimapAssertModifier and TypeMethodDescriptionstatic <K,
V> MultimapAssert<K, V> Assertions.assertThat
(Multimap<K, V> actual) final MultimapAssert<K,
V> Verifies that the actualMultimap
contains the given entries.final MultimapAssert<K,
V> MultimapAssert.containsAllEntriesOf
(Multimap<? extends K, ? extends V> other) Verifies that the actualMultimap
contains all entries of the given one (it might contain more entries).MultimapAssert.containsKeys
(K... keys) Verifies that the actualMultimap
contains the given keys.MultimapAssert.containsValues
(V... values) Verifies that the actualMultimap
contains the given values for any key.final MultimapAssert<K,
V> MultimapAssert.hasSameEntriesAs
(Multimap<? extends K, ? extends V> other) Verifies that the actualMultimap
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 likeSetMultimap
andListMultimap
.MultimapAssert.hasSize
(int expectedSize) Verifies that the number of values in the actualMultimap
is equal to the given one.Methods in org.assertj.guava.api that return types with arguments of type MultimapAssertModifier and TypeMethodDescriptionstatic <K,
V> InstanceOfAssertFactory<Multimap, MultimapAssert<K, V>> InstanceOfAssertFactory
for aMultimap
.