data class CommonFields<out T>
Common fields of an assertion plant.
T
- The type of the subject of this IAssertionPlant.
CommonFields(assertionVerb: ITranslatable, subject: T, assertionChecker: IAssertionChecker, nullRepresentation: Any) |
val assertionChecker: IAssertionChecker
The checker which will be used to check IAssertions. |
|
val assertionVerb: ITranslatable
The assertion verb which will be used inter alia in error reporting. |
|
val subject: T
The subject for which this plant will create/check IAssertions. |
fun check(assertions: List<IAssertion>): Unit
Uses assertionChecker to check the given assertions (see IAssertionChecker.check). |