abstract fun newDelegatingAssertionChecker(originalAssertionHolder: AssertionHolder): AssertionChecker
Creates an AssertionChecker which delegates the checking of Assertions to the given originalAssertionHolder by adding (see AssertionHolder.addAssertion) the assertions to the given originalAssertionHolder.
originalAssertionHolder
- The assertion container to which the Assertions will
be added.
Return
The newly created assertion checker.
abstract fun <T> newDelegatingAssertionChecker(subjectPlant: BaseAssertionPlant<T, *>): AssertionChecker
Creates an AssertionChecker which delegates the checking of Assertions to the given subjectPlant by adding (see AssertionPlant.addAssertion) the assertions to the given subjectPlant.
subjectPlant
- The assertion plant to which the Assertions will be added.
Return
The newly created assertion checker.