abstract fun addAssertion(assertion: Assertion): SubjectProvider<T>
(source)
Adds the given assertion to this holder.
assertion
- The assertion which will be added to this holder.
AssertionError
- Might throw an AssertionError in case the Assertion does not hold.
Return
This holder to support a fluent API.