public class ShouldHavePropertyOrFieldWithValue extends BasicErrorMessageFactory
arguments, format, formatter| Modifier | Constructor and Description |
|---|---|
private |
ShouldHavePropertyOrFieldWithValue(java.lang.Object actual,
java.lang.String name,
java.lang.Object expectedValue,
java.lang.Object actualValue) |
| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldHavePropertyOrFieldWithValue(java.lang.Object actual,
java.lang.String name,
java.lang.Object expectedValue,
java.lang.Object actualValue)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringprivate ShouldHavePropertyOrFieldWithValue(java.lang.Object actual,
java.lang.String name,
java.lang.Object expectedValue,
java.lang.Object actualValue)
public static ErrorMessageFactory shouldHavePropertyOrFieldWithValue(java.lang.Object actual, java.lang.String name, java.lang.Object expectedValue, java.lang.Object actualValue)
ShouldHavePropertyOrFieldWithValue.actual - the actual value in the failed assertion.name - expected name of the field of this classexpectedValue - expected value of the field of the classactualValue - actual value of the field of the classErrorMessageFactory.