| Package | Description |
|---|---|
| org.assertj.core.api | |
| org.assertj.core.data | |
| org.assertj.core.internal |
| Modifier and Type | Method and Description |
|---|---|
static MapEntry |
Assertions.entry(Object key,
Object value)
Only delegate to
entry(Object, Object) so that Assertions offers a full feature entry point to all
Fest Assert features (but you can use MapEntry if you prefer). |
| Modifier and Type | Method and Description |
|---|---|
MapAssert<K,V> |
MapAssert.contains(MapEntry... entries)
Verifies that the actual map contains the given entries, in any order.
|
MapAssert<K,V> |
MapAssert.doesNotContain(MapEntry... entries)
Verifies that the actual map does not contain the given entries.
|
| Modifier and Type | Method and Description |
|---|---|
MapAssert<K,V> |
MapAssert.usingElementComparator(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. |
| Modifier and Type | Method and Description |
|---|---|
static MapEntry |
MapEntry.entry(Object key,
Object value)
Creates a new
MapEntry. |
| Modifier and Type | Method and Description |
|---|---|
void |
Maps.assertContains(AssertionInfo info,
Map<?,?> actual,
MapEntry[] entries)
Asserts that the given
Map contains the given entries, in any order. |
void |
Maps.assertDoesNotContain(AssertionInfo info,
Map<?,?> actual,
MapEntry[] entries)
Asserts that the given
Map does not contain the given entries. |
Copyright © 2013 AssertJ. All Rights Reserved.