doc / ch.tutteli.atrium / IAtriumFactory / newDelegatingAssertionChecker

newDelegatingAssertionChecker

abstract fun <T> newDelegatingAssertionChecker(subjectPlant: BaseAssertionPlant<T, *>): AssertionChecker
Deprecated: Use AssertImpl.coreFactory instead; will be removed with 1.0.0

Creates an AssertionChecker which delegates the checking of Assertions to the given subjectPlant by adding (see AssertionPlant.addAssertion) the assertions to the given subjectPlant.

Parameters

subjectPlant - The assertion plant to which the Assertions will be added.

Return
The newly created assertion checker.