static <K,V> MapAssert<K,V> |
Assertions.assertThat(java.util.Map<K,V> actual) |
|
MapAssert<K,V> |
MapAssert.contains(MapEntry... entries) |
Verifies that the actual map contains the given entries, in any order.
|
MapAssert<K,V> |
MapAssert.containsKey(K key) |
Verifies that the actual map contains the given key.
|
MapAssert<K,V> |
MapAssert.containsValue(V value) |
Verifies that the actual map contains the given value.
|
MapAssert<K,V> |
MapAssert.doesNotContain(MapEntry... entries) |
Verifies that the actual map does not contain the given entries.
|
MapAssert<K,V> |
MapAssert.doesNotContainKey(K key) |
Verifies that the actual map does not contain the given key.
|
MapAssert<K,V> |
MapAssert.doesNotContainValue(V value) |
Verifies that the actual map does not contain the given value.
|
MapAssert<K,V> |
MapAssert.hasSameSizeAs(java.lang.Iterable<?> other) |
Verifies that the actual group has the same size as given Iterable .
|
MapAssert<K,V> |
MapAssert.hasSameSizeAs(java.lang.Object[] other) |
Verifies that the actual group has the same size as given array.
|
MapAssert<K,V> |
MapAssert.hasSize(int expected) |
Verifies that the number of values in the actual group is equal to the given one.
|
MapAssert<K,V> |
MapAssert.isNotEmpty() |
Verifies that the actual group of values is not empty.
|
MapAssert<K,V> |
MapAssert.usingDefaultElementComparator() |
Revert to standard comparison for incoming assertion group element checks.
|
MapAssert<K,V> |
MapAssert.usingElementComparator(java.util.Comparator<? super MapEntry> customComparator) |
Use given custom comparator instead of relying on actual type A equals method to compare group elements for
incoming assertion checks.
|