doc / ch.tutteli.atrium / AtriumFactory / newFeatureAssertionChecker

newFeatureAssertionChecker

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

Overrides IAtriumFactory.newFeatureAssertionChecker

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.