interface IAssertionGroup : IAssertion
The base interface for IAssertion groups, providing a default implementation for IAssertion.holds
which returns true
if all its assertions hold.
abstract val assertions: List<IAssertion>
The assertions of this group, which are defined for subject. |
|
abstract val name: ITranslatable
The name of the group. |
|
abstract val subject: Any
The subject for which the assertions are defined. |
open fun holds(): <ERROR CLASS>
Holds if all its assertions hold. |