The base interface of all assertions, providing the method holds.
abstract fun holds(): Boolean
Indicates whether the assertion holds or not.
interface AssertionGroup : Assertion
The base interface for Assertion groups, providing a default implementation for Assertion.holds
which returns true if all its assertions hold.
interface DescriptiveAssertion : Assertion
The base interface for Assertions which only consist of a representation of an expected result
with a complementary description.
interface ExplanatoryAssertion : Assertion
Represents an Assertion which is typically used in an AssertionGroup with an ExplanatoryAssertionGroupType
and provides an explanation which is typically formatted by an ObjectFormatter in reporting.