data class AssertionGroup : IAssertionGroup (source)
Represent a group of IAssertions identified by a name and an associated subject.
| <init> |
AssertionGroup(name: String, subject: Any, assertions: List<IAssertion>) |
| assertions |
val assertions: List<IAssertion>
The assertions of this group, which are defined for subject. |
| name |
val name: String
The name of the group. |
| subject |
val subject: Any
The subject for which the assertions are defined. |
| holds |
open fun holds(): Boolean
Holds if all its assertions hold. |