Package org.assertj.core.error
Class ShouldContainValues
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldContainValues
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldContainValues extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies a map contains a values.- Author:
- Alexander Bischof
-
-
Field Summary
-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ShouldContainValues(Object actual, Set<V> values)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <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
-
-
-
-
Method Detail
-
shouldContainValues
public static <V> ErrorMessageFactory shouldContainValues(Object actual, Set<V> values)
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
.
-
-