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