abstract fun addAssertion(assertion: Assertion): Expect<T>
Overrides AssertionHolder.addAssertion
Adds the given assertion to this container.
assertion
- The assertion which will be added to this container.
AssertionError
- Might throw an AssertionError in case Assertions are immediately
evaluated (see ReportingAssertionContainer).
Return
This assertion container to support a fluent API.