doc / ch.tutteli.atrium / IAtriumFactory / newFeatureAssertionChecker

newFeatureAssertionChecker

abstract fun <T : Any> newFeatureAssertionChecker(subjectPlant: AssertionPlant<T>): AssertionChecker (source)
Deprecated: Use AssertImpl.coreFactory instead; will be removed with 1.0.0

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.