interface AssertionGroup : Assertion
(source)
The base interface for Assertion groups, providing a default implementation for Assertion.holds
which returns true
if all its assertions hold.
abstract val assertions: List<Assertion>
The assertions of this group, which are defined for the subject represented by representation. |
|
abstract val description: Translatable
The description of the group. |
|
abstract val representation: Any
A complementing representation to the description -- typically the subject for which the assertions are defined. |
|
abstract val type: AssertionGroupType
The type of the group, e.g. RootAssertionGroupType. |
open fun holds(): Boolean
Holds if all its assertions hold. |
class LazyThreadUnsafeAssertionGroup : AssertionGroup
Represents an AssertionGroup which is evaluated lazily where the lazy loading is not thread safe. |