Uses of Class
org.fest.assertions.api.MapAssert
Packages that use MapAssert
-
Uses of MapAssert in org.fest.assertions.api
Methods in org.fest.assertions.api that return MapAssertModifier and TypeMethodDescriptionstatic <K,
V> MapAssert <K, V> Assertions.assertThat
(Map<K, V> actual) Creates a new instance of
.MapAssert
Verifies that the actual map contains the given entries, in any order.MapAssert.containsKey
(K key) Verifies that the actual map contains the given key.MapAssert.containsValue
(V value) Verifies that the actual map contains the given value.MapAssert.doesNotContain
(MapEntry... entries) Verifies that the actual map does not contain the given entries.MapAssert.doesNotContainKey
(K key) Verifies that the actual map does not contain the given key.MapAssert.doesNotContainValue
(V value) Verifies that the actual map does not contain the given value.MapAssert.hasSameSizeAs
(Iterable<?> other) Verifies that the actual group has the same size as givenIterable
.MapAssert.hasSameSizeAs
(Object[] other) Verifies that the actual group has the same size as given array.MapAssert.hasSize
(int expected) Verifies that the number of values in the actual group is equal to the given one.MapAssert.isNotEmpty()
Verifies that the actual group of values is not empty.MapAssert.usingDefaultElementComparator()
Revert to standard comparison for incoming assertion group element checks.MapAssert.usingElementComparator
(Comparator<? super MapEntry> customComparator) Use given custom comparator instead of relying on actual type Aequals
method to compare group elements for incoming assertion checks.