doc / ch.tutteli.atrium / IAtriumFactory / newDelegatingAssertionChecker

newDelegatingAssertionChecker

abstract fun <T> newDelegatingAssertionChecker(subjectPlant: IBaseAssertionPlant<T, *>): IAssertionChecker

Creates an IAssertionChecker which delegates the checking of IAssertions to the given subjectPlant by adding (see IAssertionPlant.addAssertion) the assertions to the given subjectPlant.

Parameters

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

Return
The newly created assertion checker.