java.lang.Object
it.tidalwave.ui.test.DisplayableAssert
Assertions for the
Displayable
role.- Since:
- 3.0-ALPHA-3
- Author:
- Fabrizio Giudici
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionwithDisplayName
(String displayName) Asserts that the object under inspection has the given display name.withDisplayName
(org.springframework.util.function.ThrowingSupplier<String> displayName) Asserts that the object under inspection has the given display name.
-
Field Details
-
displayable
The Displayable under inspection.
-
-
Constructor Details
-
DisplayableAssert
public DisplayableAssert()
-
-
Method Details
-
withDisplayName
@Nonnull public DisplayableAssert withDisplayName(@Nonnull org.springframework.util.function.ThrowingSupplier<String> displayName) Asserts that the object under inspection has the given display name.- Parameters:
displayName
- the display name- Returns:
- an object for fluent further assertions
-
withDisplayName
Asserts that the object under inspection has the given display name.- Parameters:
displayName
- the display name- Returns:
- an object for fluent further assertions
-