abstract fun addAssertion(assertion: IAssertion): IAssertionPlant<T>
Adds the given assertion to the plant.
assertion
- The assertion which will be added to this plant.
AssertionError
- Might throw an AssertionError in case IAssertions are immediately evaluated.
Return
This plant to support a fluent-style API.