interface SubjectProvider<out T> : AssertionHolder
Provides the subject of an Assertion.
Notice, this interface has its mere purpose to facilitate the transition from Assert to Expect. It might well be that we are going to remove it with 1.0.0 without previous notice. Hence, to be on the safe side, you should use Expect instead.
abstract val maybeSubject: Option<T>
Either Some wrapping the subject of an Assertion or None in case a previous subject change could not be carried out. |
|
abstract val
The subject of an Assertion -- deprecated, will be removed with 1.0.0. |
abstract fun addAssertion(assertion: Assertion): AssertionHolder
Adds the given assertion to this holder. |
interface AssertionContainer<T> : SubjectProvider<T>
Represents the extension point of the logic level for subjects of type T. |
|
interface
Represents a plant for Assertions and offers methods to addAssertions to this plant. |
|
interface Expect<T> : SubjectProvider<T>
Represents the extension point for Assertion functions and sophisticated builders for subjects of type T. |