doc / ch.tutteli.atrium / IAtriumFactory / newFeatureAssertionChecker

newFeatureAssertionChecker

abstract fun <T : Any> newFeatureAssertionChecker(subjectPlant: IAssertionPlant<T>): IAssertionChecker

Creates an IAssertionChecker which creates IFeatureAssertionGroup instead of checking assertions and delegates this task to the given subjectPlant by adding (see IAssertionPlant.addAssertion the created IFeatureAssertionGroup to it.

Parameters

subjectPlant - The assertion plant to which the created IFeatureAssertionGroup will be added.

Return
The newly created assertion checker.