interface IBasicAssertion : IAssertion
The base interface for IAssertions which only consists of the expected result with a complementary description.
abstract val description: ITranslatable
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 BasicAssertion : IBasicAssertion
A default implementation for IBasicAssertion which lazily evaluates holds. |
|
class LazyThreadUnsafeBasicAssertion : IBasicAssertion
Represents an IBasicAssertion which is evaluated lazily where the lazy loading is not thread safe. |