doc / ch.tutteli.atrium / IAtriumFactory / newFeatureAssertionChecker


abstract fun <T : Any> newFeatureAssertionChecker(subjectPlant: AssertionPlant<T>): AssertionChecker
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.


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

The newly created assertion checker.