fun <T : Any> newCheckLazily(assertionVerb: String, subject: T, reporter: IReporter): IAssertionPlant<T>
(source)
Overrides IAtriumFactory.newCheckLazily
Creates an IAssertionPlant which does not check the created or added IAssertions until one calls IAssertionPlant.checkAssertions.
It creates a newThrowingAssertionChecker based on the given reporter for assertion checking.
assertionVerb
- The assertion verb which will be used inter alia in reporting
(see IAssertionPlantWithCommonFields.CommonFields.assertionVerb).
subject
- The subject for which this plant will create/check IAssertions.
(see IAssertionPlantWithCommonFields.CommonFields.subject).
reporter
- The reporter which will be use for a newThrowingAssertionChecker.
Return
The newly created assertion plant.
fun <T : Any> newCheckLazily(assertionVerb: String, subject: T, assertionChecker: IAssertionChecker): IAssertionPlant<T>
(source)
Overrides IAtriumFactory.newCheckLazily
Creates an IAssertionPlant which does not check the created or added IAssertions until one calls IAssertionPlant.checkAssertions.
It uses the given assertionChecker for assertion checking.
assertionVerb
- The assertion verb which will be used inter alia in reporting
(see IAssertionPlantWithCommonFields.CommonFields.assertionVerb).
subject
- The subject for which this plant will create/check IAssertions.
(see IAssertionPlantWithCommonFields.CommonFields.subject).
assertionChecker
- The checker which will be used to check IAssertions.
(see IAssertionPlantWithCommonFields.CommonFields.assertionChecker).
Return
The newly created assertion plant.
fun <T : Any> newCheckLazily(commonFields: CommonFields<T>): IAssertionPlant<T>
(source)
Overrides IAtriumFactory.newCheckLazily
Creates an IAssertionPlant which does not check the created or added IAssertions until one calls IAssertionPlant.checkAssertions.
It uses the IAssertionPlantWithCommonFields.CommonFields.assertionChecker of the given commonFields for assertion checking.
commonFields
- The commonFields for the new assertion plant.
Return
The newly created assertion plant.