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 consists of the expected result with a complementary description.
interface ExplanatoryAssertion : Assertion
Represents an Assertion which is typically used in an AssertionGroup with a ExplanatoryAssertionGroupType
and provides an explanation which is typically formatted by an ObjectFormatter in reporting.