data class BasicAssertionGroup : AssertionGroup
A default implementation for AssertionGroup -- it has a certain type, a name, a subject and of course assertions.
val assertions: List<Assertion>
The assertions of this group, which are defined for subject. |
|
val name: Translatable
The name of the group. |
|
val subject: Any
The subject for which the assertions are defined. |
|
val type: AssertionGroupType
The type of the group, e.g. RootAssertionGroupType. |
open fun holds(): <ERROR CLASS>
Holds if all its assertions hold. |