doc / ch.tutteli.atrium / AtriumFactory / newFeatureAssertionChecker

newFeatureAssertionChecker

fun <T : Any> newFeatureAssertionChecker(subjectPlant: AssertionPlant<T>): AssertionChecker

Overrides IAtriumFactory.newFeatureAssertionChecker

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.