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, unquotedString
protected String diffs
public String create(Description d, Representation representation)
BasicErrorMessageFactory
create
in interface ErrorMessageFactory
create
in class BasicErrorMessageFactory
d
- the description of the failed assertion.representation
- the representation usedCopyright © 2014–2019 AssertJ. All rights reserved.