interface BaseReportingAssertionPlant<out T, out A : BaseAssertionPlant<T, A>> : BaseAssertionPlant<T, A>, AssertionPlantWithCommonFields<T>
(source)
Represents a plant for Assertions and offers methods to addAssertions to this plant.
It defines what ReportingAssertionPlant and ReportingAssertionPlantNullable have in common.
T
- The type of the subject of this AssertionPlant.
A
- A subtype of BaseAssertionPlant which is used in the fluent style API.
abstract val commonFields: CommonFields<T>
CommonFields of this plant. |
|
abstract val subject: T
The subject for which this plant will create Assertions. |
|
abstract val subjectProvider: () -> T
The provider which provides subject. |
abstract fun addAssertion(assertion: Assertion): A
Adds the given assertion to this plant. |
interface ReportingAssertionPlant<out T : Any> : AssertionPlant<T>, BaseReportingAssertionPlant<T, AssertionPlant<T>>
Represents a plant for Assertions and offers the possibility to addAssertions and to report them. |
|
interface ReportingAssertionPlantNullable<out T> : AssertionPlantNullable<T>, BaseReportingAssertionPlant<T, AssertionPlantNullable<T>>
Represents an assertion plant for nullable types and offers the possibility to addAssertions and to report them. |