Package org.assertj.core.error
Class ShouldNotContainKeys
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldNotContainKeys
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies a map does not contain keys.
- Author:
- dorzey
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
Method Summary
Modifier and TypeMethodDescriptionstatic <K> ErrorMessageFactory
shouldNotContainKeys
(Object actual, Set<K> keys) Creates a new
.ShouldNotContainKeys
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldNotContainKeys
Creates a new
.ShouldNotContainKeys
- Type Parameters:
K
- key type- Parameters:
actual
- the actual value in the failed assertion.keys
- the unexpected keys- Returns:
- the created
ErrorMessageFactory
.
-