doc / ch.tutteli.atrium / IAtriumFactory / newFeatureAssertionChecker

newFeatureAssertionChecker

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

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.