abstract fun addAssertionsCreatedBy(assertionCreator: IAssertionPlant<T>.() -> Unit): IAssertionPlant<T>
Adds the assertions created by the assertionCreator lambda to this plant.
assertionCreator
- The receiver function which might create and add assertions to this plant.
AssertionError
- Might throw an AssertionError in case IAssertions are immediately
evaluated (see IReportingAssertionPlant).
Return
This plant to support a fluent API.