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
ShouldContainOnlyKeys. |
static ErrorMessageFactory |
shouldContainOnlyKeys(Object actual,
Object expected,
Object notFound,
Object notExpected)
Creates a new
ShouldContainOnlyKeys. |
create, create, create, equals, hashCode, toString, unquotedStringpublic 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 © 2013-2015 AssertJ. All Rights Reserved.