Top Description Fields Constructors Methods
org.assertj.core.description

public Class LazyTextDescription

extends Description
Class Inheritance
Static Imports
org.assertj.core.util.Preconditions.checkState

A text-based description that is evaluated lazily.

Field Summary

Modifier and TypeField and Description
private Supplier<String>

Constructor Summary

AccessConstructor and Description
public
LazyTextDescription(Supplier<String> descriptionSupplier)

Method Summary

Modifier and TypeMethod and Description
public String
Inherited from org.assertj.core.description.Description:
emptyIfNullmostRelevantDescriptiontoString

Field Detail

descriptionSupplierback to summary
private Supplier<String> descriptionSupplier

Constructor Detail

LazyTextDescriptionback to summary
public LazyTextDescription(Supplier<String> descriptionSupplier)

Method Detail

valueback to summary
public String value()

Implements abstract org.assertj.core.description.Description.value.

Returns:String

Doc from org.assertj.core.description.Description.value.

the value of this description.

Annotations
@Override