public class AbstractShouldHaveTextContent extends BasicErrorMessageFactory
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
diffs |
arguments, format, formatter
Constructor and Description |
---|
AbstractShouldHaveTextContent(java.lang.String format,
java.lang.Object... arguments) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
create(Description d,
Representation representation)
Creates a new error message as a result of a failed assertion.
|
protected static java.lang.String |
diffsAsString(java.util.List<Delta<java.lang.String>> diffsList) |
create, create, equals, hashCode, toString, unquotedString
public AbstractShouldHaveTextContent(java.lang.String format, java.lang.Object... arguments)
public java.lang.String create(Description d, Representation representation)
BasicErrorMessageFactory
create
in interface ErrorMessageFactory
create
in class BasicErrorMessageFactory
d
- the description of the failed assertion.protected static java.lang.String diffsAsString(java.util.List<Delta<java.lang.String>> diffsList)