public class ShouldContainOnlyKeys extends BasicErrorMessageFactory
arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldContainOnlyKeys(Object actual,
Object expected,
Object notFound,
Iterable<?> notExpected)
Creates a new
. |
static ErrorMessageFactory |
shouldContainOnlyKeys(Object actual,
Object expected,
Object notFound,
Object notExpected)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldContainOnlyKeys(Object actual, Object expected, Object notFound, Object notExpected)
ShouldContainOnlyKeys
.actual
- the actual value in the failed assertion.expected
- values expected to be contained in actual
.notFound
- values in expected
not found in actual
.notExpected
- values in actual
that were not in expected
.ErrorMessageFactory
.public static ErrorMessageFactory shouldContainOnlyKeys(Object actual, Object expected, Object notFound, Iterable<?> notExpected)
ShouldContainOnlyKeys
.actual
- the actual value in the failed assertion.expected
- values expected to be contained in actual
.notFound
- values in expected
not found in actual
.notExpected
- values in actual
that were not in expected
.ErrorMessageFactory
.Copyright © 2014–2018 AssertJ. All rights reserved.