| Modifier and Type | Method and Description |
|---|---|
| public default SELF | |
| public default SELF | |
| public default SELF | Returns: this object.the new description to set. description)Sets the description of the assertion that is going to be called after. |
| public default SELF | Returns: this object.the new description to set. description, Object... optional parameter if description is a format String. args)Sets the description of the assertion that is going to be called after. |
| public default SELF | Returns: this object.the description descriptionSupplier)Supplier.Lazily specifies the description of the assertion that is going to be called, the given description is not evaluated if the assertion succeeds. |
| public SELF | Returns: this object.the new description to set. description)Sets the description of the assertion that is going to be called after. |
| as | back to summary |
|---|---|
| public default SELF as(String description, Object... args) Sets the description of the assertion that is going to be called after. You must set it before calling the assertion otherwise it is ignored as the failing assertion breaks the chained call by throwing an AssertionError.
The description follows Example :
| |
| as | back to summary |
|---|---|
| public default SELF as(final Supplier<String> descriptionSupplier) Lazily specifies the description of the assertion that is going to be called, the given description is not evaluated if the assertion succeeds. The description must be set before calling the assertion otherwise it is ignored as the failing assertion breaks the chained call by throwing an AssertionError. Example :
| |
| as | back to summary |
|---|---|
| public default SELF as(Description description) Sets the description of the assertion that is going to be called after. You must set it before calling the assertion otherwise it is ignored as the failing assertion breaks the chained call by throwing an AssertionError.
This overloaded version of "describedAs" offers more flexibility than the one taking a
| |
| describedAs | back to summary |
|---|---|
| public default SELF describedAs(String description, Object... args) Sets the description of the assertion that is going to be called after. You must set it before calling the assertion otherwise it is ignored as the failing assertion breaks the chained call by throwing an AssertionError.
Alias for
| |
| describedAs | back to summary |
|---|---|
| public default SELF describedAs(final Supplier<String> descriptionSupplier) Lazily specifies the description of the assertion that is going to be called, the given description is not evaluated if the assertion succeeds. The description must be set before calling the assertion otherwise it is ignored as the failing assertion breaks the chained call by throwing an AssertionError. Example :
| |
| describedAs | back to summary |
|---|---|
| public SELF describedAs(Description description) Sets the description of the assertion that is going to be called after. You must set it before calling the assertion otherwise it is ignored as the failing assertion breaks the chained call by throwing an AssertionError.
This overloaded version of "describedAs" offers more flexibility than the one taking a
| |