public class ShouldContainEntry extends BasicErrorMessageFactory
arguments, format| Modifier and Type | Method and Description |
|---|---|
static <K,V> ErrorMessageFactory |
shouldContainEntry(Map<K,V> actual,
Condition<?> entryCondition)
Creates a new
. |
static <K,V> ErrorMessageFactory |
shouldContainEntry(Map<K,V> actual,
Condition<? super K> keyCondition,
Condition<? super V> valueCondition)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringpublic static <K,V> ErrorMessageFactory shouldContainEntry(Map<K,V> actual, Condition<?> entryCondition)
ShouldContainEntry.K - key typeV - value typeactual - the actual map in the failed assertion.entryCondition - entry condition.ErrorMessageFactory.public static <K,V> ErrorMessageFactory shouldContainEntry(Map<K,V> actual, Condition<? super K> keyCondition, Condition<? super V> valueCondition)
ShouldContainEntry.K - key typeV - value typeactual - the actual map in the failed assertion.keyCondition - key condition.valueCondition - value condition.ErrorMessageFactory.Copyright © 2014–2019 AssertJ. All rights reserved.