interface DescriptiveAssertion : Assertion
(source)
The base interface for Assertions which only consist of a representation of an expected result with a complementary description.
E.g., the assertion is not: null
could be represented with this type where null
is the representation and
is not
the complementary description.
abstract val description: Translatable
The complementary description to the representation result such as |
|
open val |
|
abstract val representation: Any
The representation of the expected result such as |
abstract fun holds(): Boolean
Indicates whether the assertion holds or not. |
class
A default implementation for DescriptiveAssertion which lazily evaluates holds. |