Interface Expected
- All Known Subinterfaces:
ExpectedException<T>,ExpectedObject<T>
- All Known Implementing Classes:
Nothing
public interface Expected
A type representing the expected behavior in a test.
-
Field Summary
FieldsModifier and TypeFieldDescriptionA function enclosing a string with brackets. -
Method Summary
Modifier and TypeMethodDescriptionbehavior()Returns an object representing the expected behavior of the test.default booleandisplay()static Expecteddefault Stringstring(Stringifier stringifier) Returns a string representation of the expected behavior using the given stringifier to make the behavior human-readable.
-
Field Details
-
BRACKET_FORMATTER
A function enclosing a string with brackets.
-
-
Method Details
-
behavior
Object behavior()Returns an object representing the expected behavior of the test.
- Returns:
- the object
-
display
default boolean display() -
string
Returns a string representation of the expected behavior using the given stringifier to make the behavior human-readable.
- Parameters:
stringifier- the stringifier- Returns:
- the string
-
of
-