interface DescriptiveAssertion : Assertion
The base interface for Assertions which only consists of the expected result with a complementary description.
abstract val description: Translatable
The complementary description to the expected result such as |
|
abstract val expected: Any
The expected result. |
abstract fun holds(): Boolean
Indicates whether the assertion holds or not. |
class BasicDescriptiveAssertion : DescriptiveAssertion
A default implementation for DescriptiveAssertion which lazily evaluates holds. |
|
class LazyThreadUnsafeBasicAssertion : DescriptiveAssertion
Represents a DescriptiveAssertion which is evaluated lazily where the lazy loading is not thread safe. |