doc / ch.tutteli.atrium.creating / AssertionPlantWithCommonFields / CommonFields / <init>

<init>

CommonFields(assertionVerb: Translatable, subject: T, assertionChecker: AssertionChecker, nullRepresentation: Any) CommonFields(assertionVerb: Translatable, subjectProvider: () -> T, representationProvider: () -> Any?, assertionChecker: AssertionChecker, nullRepresentation: Any)

Parameters

assertionVerb - The assertion verb which will be used inter alia in error reporting.

subjectProvider - Provides the AssertionPlant.subject for which this plant will create/check Assertions.

assertionChecker - The checker which will be used to check Assertions.

Constructor