class ExplanatoryAssertionGroup : EmptyNameAndSubjectAssertionGroup
Represents an IAssertionGroup with an ExplanatoryAssertionGroupType, which means an IReporter should not
show whether the assertions hold or not -- moreover holds always returns true
.
ExplanatoryAssertionGroup(type: IExplanatoryAssertionGroupType, explanatoryAssertions: List<IAssertion>)
Represents an IAssertionGroup with an ExplanatoryAssertionGroupType, which means an IReporter
should not show whether the assertions hold or not -- moreover holds always returns |
open val assertions: List<IAssertion>
The assertions of this group, which are defined for subject. |
|
open val name: ITranslatable
Untranslatable of an empty string. |
|
open val subject: Any
The empty string. |
|
open val type: IAssertionGroupType
The type of the group, e.g. RootAssertionGroupType. |
fun holds(): Boolean
Holds if all its assertions hold. |