public class ShouldNotContainKey extends BasicErrorMessageFactory
arguments, format, formatter
Modifier | Constructor and Description |
---|---|
private |
ShouldNotContainKey(java.lang.Object actual,
java.lang.Object key) |
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldNotContainKey(java.lang.Object actual,
java.lang.Object key)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
private ShouldNotContainKey(java.lang.Object actual, java.lang.Object key)
public static ErrorMessageFactory shouldNotContainKey(java.lang.Object actual, java.lang.Object key)
ShouldNotContainKey
.actual
- the actual value in the failed assertion.key
- the unexpected key.ErrorMessageFactory
.