public class AbstractShouldHaveTextContent extends BasicErrorMessageFactory
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
diffs |
arguments, format
Constructor and Description |
---|
AbstractShouldHaveTextContent(java.lang.String format,
java.lang.Object... arguments) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
create(Description d)
Creates a new error message as a result of a failed assertion.
|
protected static java.lang.String |
diffsAsString(java.util.List<java.lang.String> diffsList) |
equals, hashCode, toString
public AbstractShouldHaveTextContent(java.lang.String format, java.lang.Object... arguments)
public java.lang.String create(Description d)
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<java.lang.String> diffsList)
Copyright © 2007–2018. All rights reserved.