Class TextDescription
java.lang.Object
org.assertj.core.description.Description
org.assertj.core.description.TextDescription
- Direct Known Subclasses:
EmptyTextDescription
A text-based description.
- Author:
- Yvonne Wang, Alex Ruiz, William Delanoue
-
Constructor Summary
ConstructorsConstructorDescriptionTextDescription(String value, Object... args) Creates a new.TextDescription -
Method Summary
Methods inherited from class Description
emptyIfNull, mostRelevantDescription, toString
-
Constructor Details
-
TextDescription
Creates a new.TextDescription- Parameters:
value- the value of this description.args- the replacements parameters of this description.- Throws:
NullPointerException- if the given value isnull.
-
-
Method Details
-
value
- Specified by:
valuein classDescription- Returns:
- the value of this description.
-
hashCode
-
equals
-