Package org.assertj.core.error
Class ShouldContainValues
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldContainValues
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies a map contains a values.
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <V> ErrorMessageFactory
shouldContainValues
(Object actual, Set<V> values) Creates a new
.ShouldContainValues
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Constructor Details
-
ShouldContainValues
-
-
Method Details
-
shouldContainValues
Creates a new
.ShouldContainValues
- Type Parameters:
V
- value type- Parameters:
actual
- the actual value in the failed assertion.values
- the expected values.- Returns:
- the created
ErrorMessageFactory
.
-