Class JoinDescription
java.lang.Object
org.assertj.core.description.Description
org.assertj.core.description.JoinDescription
The
Description combining multiple Descriptions. It'll honor the nested descriptions and will indent
them as appropriate.- Author:
- Edgar Asatryan, Joel Costigliola
-
Constructor Summary
ConstructorsConstructorDescriptionJoinDescription(String prefix, String suffix, Collection<Description> descriptions) Creates a new.JoinDescription -
Method Summary
Methods inherited from class Description
emptyIfNull, mostRelevantDescription, toString
-
Constructor Details
-
JoinDescription
Creates a new.JoinDescription- Parameters:
prefix- The beginning part of this description.suffix- The ending part of this description.descriptions- The descriptions to combine.- Throws:
NullPointerException- if the given prefix isnull.NullPointerException- if the given suffix isnull.NullPointerException- if the given descriptions containsnullelements or descriptions itself isnull.
-
-
Method Details
-
value
- Specified by:
valuein classDescription- Returns:
- the value of this description.
-
hashCode
-
equals
-