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

newFeatureAssertionChecker

abstract fun newFeatureAssertionChecker(originalAssertionHolder: AssertionHolder): AssertionChecker
Deprecated: Do no longer use AssertionCheckers, use a specialised Expect instead; e.g. DelegatingExpect, FeatureExpect; will be removed with 1.0.0

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

Parameters

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

Return
The newly created assertion checker.