Interface Actual
- All Known Subinterfaces:
ActualException<T>,ActualObject<T>
- All Known Implementing Classes:
Nothing
public interface Actual
A type representing the actual 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 behavior of the test.default booleandisplay()static Actualdefault Stringstring(Stringifier stringifier) Returns a string representation of the behavior under test using the given stringifier to make the behavior human-readable.booleanstatic Actualsuccessful(Object behavior) static Actualunexpected(Object behavior)
-
Field Details
-
BRACKET_FORMATTER
A function enclosing a string with brackets.
-
-
Method Details
-
behavior
Object behavior()Returns an object representing the behavior of the test.
- Returns:
- the object
-
successful
boolean successful() -
display
default boolean display() -
string
Returns a string representation of the behavior under test using the given stringifier to make the behavior human-readable.
- Parameters:
stringifier- the stringifier- Returns:
- the string
-
of
-
successful
-
unexpected
-