Modifier and Type | Field and Description |
---|---|
private ValueWrapper |
AssertionFailedError.actual |
private ValueWrapper |
AssertionFailedError.expected |
private static ValueWrapper |
ValueWrapper.nullValueWrapper |
Modifier and Type | Method and Description |
---|---|
static ValueWrapper |
ValueWrapper.create(java.lang.Object value)
Factory for creating a new
ValueWrapper for the supplied value . |
static ValueWrapper |
ValueWrapper.create(java.lang.Object value,
java.lang.String stringRepresentation)
Factory for creating a new
ValueWrapper for the supplied value
using the supplied custom stringRepresentation . |
ValueWrapper |
AssertionFailedError.getActual()
Returns the wrapped actual value if it is defined; otherwise
null . |
ValueWrapper |
AssertionFailedError.getExpected()
Returns the wrapped expected value if it is defined; otherwise
null . |
Constructor and Description |
---|
AssertionFailedError(java.lang.String message,
ValueWrapper expected,
ValueWrapper actual,
java.lang.Throwable cause) |