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, unquotedStringpublic AbstractShouldHaveTextContent(java.lang.String format,
java.lang.Object... arguments)
public java.lang.String create(Description d, Representation representation)
BasicErrorMessageFactorycreate in interface ErrorMessageFactorycreate in class BasicErrorMessageFactoryd - the description of the failed assertion.representation - the representation usedprotected static java.lang.String diffsAsString(java.util.List<Delta<java.lang.String>> diffsList)