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.MULTIMAPMethods 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 actualMultimapcontains the given entries.final MultimapAssert<K, V> MultimapAssert.containsAllEntriesOf(Multimap<? extends K, ? extends V> other) Verifies that the actualMultimapcontains all entries of the given one (it might contain more entries).MultimapAssert.containsKeys(K... keys) Verifies that the actualMultimapcontains the given keys.MultimapAssert.containsValues(V... values) Verifies that the actualMultimapcontains the given values for any key.MultimapAssert.doesNotContainKey(K key) Verifies that the actual multimap does not contain the given key.MultimapAssert.doesNotContainKeys(K... keys) Verifies that the actual multimap does not contain any of the given keys.final MultimapAssert<K, V> MultimapAssert.hasSameEntriesAs(Multimap<? extends K, ? extends V> other) Verifies that the actualMultimaphas 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 likeSetMultimapandListMultimap.MultimapAssert.hasSize(int expectedSize) Verifies that the number of values in the actualMultimapis 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>> InstanceOfAssertFactoryfor aMultimap.