interface SubjectProvider<out T>
(source)Provides the subject of an Assertion.
Notice, this interface had its mere purpose to facilitate the transition from Assert
to Expect -- Assert
was
removed in 0.16.0 and thus this interface will be removed with 0.17.0.
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 fun addAssertion(assertion: Assertion): SubjectProvider<T>
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 Expect<T> : SubjectProvider<T>
Represents the extension point for Assertion functions and sophisticated builders for subjects of type T. |