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
An Expect for the current subject of the assertion.