Package org.assertj.db.error
Class ShouldContainsValue
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.db.error.ShouldContainsValue
- All Implemented Interfaces:
org.assertj.core.error.ErrorMessageFactory
public class ShouldContainsValue
extends org.assertj.core.error.BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that values are contained in values.
- Author:
- Régis Pouiller
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.assertj.core.error.ErrorMessageFactory
shouldContainsValue
(int index) Creates a new
.ShouldContainsValue
static org.assertj.core.error.ErrorMessageFactory
shouldContainsValue
(Object actual, Object expected, Object value, int index) Creates a new
.ShouldContainsValue
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldContainsValue
public static org.assertj.core.error.ErrorMessageFactory shouldContainsValue(Object actual, Object expected, Object value, int index) Creates a new
.ShouldContainsValue
- Parameters:
actual
- The actual values in the failed assertion.expected
- The expected values to compare to.value
- The value which is not found.index
- The index of the value which is not found.- Returns:
- the created
ErrorMessageFactory
.
-
shouldContainsValue
public static org.assertj.core.error.ErrorMessageFactory shouldContainsValue(int index) Creates a new
.ShouldContainsValue
- Parameters:
index
- The index of the value which is not found.- Returns:
- the created
ErrorMessageFactory
.
-