doc / ch.tutteli.atrium.core / CoreFactoryCommon / newFeatureAssertionChecker

newFeatureAssertionChecker

abstract fun <T> newFeatureAssertionChecker(subjectPlant: BaseAssertionPlant<T, *>): AssertionChecker (source)

Creates an AssertionChecker which creates an AssertionGroup of type FeatureAssertionGroupType instead of checking assertions and delegates this task to the given subjectPlant by adding (see AssertionPlant.addAssertion) the created assertion group to it.

Parameters

subjectPlant - The assertion plant to which the created AssertionGroup of type FeatureAssertionGroupType will be added.

Return
The newly created assertion checker.