abstract fun addAssertion(assertion: Assertion): A
(source)
Overrides AssertionHolder.addAssertion
Adds the given assertion to this plant.
assertion
- The assertion which will be added to this plant.
AssertionError
- Might throw an AssertionError in case Assertions are immediately
evaluated (see ReportingAssertionPlant).
Return
This plant to support a fluent API.