abstract fun addAssertion(assertion: Assertion): CollectingAssertionContainer<T>
Overrides Expect.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.