Interface ActualObject<T>
- All Superinterfaces:
Actual
- All Known Subinterfaces:
ActualException<T>
A type representing the actual object in a test.
-
Field Summary
Fields inherited from interface org.tudalgo.algoutils.tutor.general.assertions.actual.Actual
BRACKET_FORMATTER -
Method Summary
Modifier and TypeMethodDescriptionbehavior()Returns the object under test.default Tobject()Returns the object under test.static <T> ActualObject<T>of(T object, boolean successful) static <T> ActualObject<T>Returns an instance representing a behavior where the given object was tested or, if no object was given, an behavior where no object was returned.Methods inherited from interface org.tudalgo.algoutils.tutor.general.assertions.actual.Actual
display, string, successful
-
Method Details
-
of
Returns an instance representing a behavior where the given object was tested or, if no object was given, an behavior where no object was returned.
- Type Parameters:
T- the type of the object- Parameters:
object- the object- Returns:
- the object behavior
-
of
-
behavior
T behavior()Returns the object under test.
-
object
Returns the object under test.
- Returns:
- the object
-