public class AbstractShouldHaveTextContent extends BasicErrorMessageFactory
| Modifier and Type | Field and Description |
|---|---|
protected String |
diffs |
arguments, format| Constructor and Description |
|---|
AbstractShouldHaveTextContent(String format,
Object... arguments) |
| Modifier and Type | Method and Description |
|---|---|
String |
create(Description d,
Representation representation)
Creates a new error message as a result of a failed assertion.
|
protected static String |
diffsAsString(List<Delta<String>> diffsList) |
create, create, equals, hashCode, toString, unquotedStringprotected String diffs
public String create(Description d, Representation representation)
BasicErrorMessageFactorycreate in interface ErrorMessageFactorycreate in class BasicErrorMessageFactoryd - the description of the failed assertion.representation - the representation usedCopyright © 2014–2018 AssertJ. All rights reserved.