public class ShouldContainKey extends BasicErrorMessageFactory
arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldContainKey(Object actual,
Condition<?> keyCondition)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldContainKey(Object actual, Condition<?> keyCondition)
ShouldContainKey
.actual
- the actual map in the failed assertion.keyCondition
- key condition.ErrorMessageFactory
.Copyright © 2014–2019 AssertJ. All rights reserved.