doc / ch.tutteli.atrium / AtriumFactory / newFeatureAssertionChecker

newFeatureAssertionChecker

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

Overrides IAtriumFactory.newFeatureAssertionChecker

Creates an IAssertionChecker which creates an IAssertionGroup of type IFeatureAssertionGroupType instead of checking assertions and delegates this task to the given subjectPlant by adding (see IAssertionPlant.addAssertion) the created assertion group to it.

Parameters

subjectPlant - The assertion plant to which the created IAssertionGroup of type IFeatureAssertionGroupType will be added.

Return
The newly created assertion checker.