Package org.assertj.core.error
Class ShouldHaveValue
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldHaveValue
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldHaveValue extends BasicErrorMessageFactory
-
-
Field Summary
Fields Modifier and Type Field Description private static String
SHOULD_HAVE_VALUE
private static String
SHOULD_HAVE_VALUE_BUT_DID_NOT
-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ShouldHaveValue(Object actual, REF expectedValue)
private
ShouldHaveValue(Object actual, REF actualValue, REF expectedValue, Object objectToUpdate)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <REF> ErrorMessageFactory
shouldHaveValue(Object actual, REF expectedValue)
static <REF> ErrorMessageFactory
shouldHaveValue(Object actual, REF actualValue, REF expectedValue, Object objectToUpdate)
-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Field Detail
-
SHOULD_HAVE_VALUE_BUT_DID_NOT
private static final String SHOULD_HAVE_VALUE_BUT_DID_NOT
- See Also:
- Constant Field Values
-
SHOULD_HAVE_VALUE
private static final String SHOULD_HAVE_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
shouldHaveValue
public static <REF> ErrorMessageFactory shouldHaveValue(Object actual, REF actualValue, REF expectedValue, Object objectToUpdate)
-
shouldHaveValue
public static <REF> ErrorMessageFactory shouldHaveValue(Object actual, REF expectedValue)
-
-