public class ShouldContainKeys extends BasicErrorMessageFactory
arguments, format
Modifier and Type | Method and Description |
---|---|
static <K> ErrorMessageFactory |
shouldContainKeys(Object actual,
Set<K> keys)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static <K> ErrorMessageFactory shouldContainKeys(Object actual, Set<K> keys)
ShouldContainKeys
.K
- key typeactual
- the actual value in the failed assertion.keys
- the expected keysErrorMessageFactory
.Copyright © 2014–2019 AssertJ. All rights reserved.