doc / ch.tutteli.atrium.creating / BaseReportingAssertionPlant

BaseReportingAssertionPlant

interface BaseReportingAssertionPlant<out T, out A : BaseAssertionPlant<T, A>> : BaseAssertionPlant<T, A>, AssertionPlantWithCommonFields<T>

Properties

subject

open val subject: T

The subject for which this plant will create, check and report Assertions.

Inherited Properties

commonFields

abstract val commonFields: CommonFields<T>

CommonFields of this plant.

Inherited Functions

addAssertion

abstract fun addAssertion(assertion: Assertion): A

Adds the given assertion to this plant.

Inheritors

ReportingAssertionPlant

interface ReportingAssertionPlant<out T : Any> : AssertionPlant<T>, BaseReportingAssertionPlant<T, AssertionPlant<T>>

Represents a plant for Assertions and offers the possibility to check all the added assertions which includes error reporting.

ReportingAssertionPlantNullable

interface ReportingAssertionPlantNullable<out T> : AssertionPlantNullable<T>, BaseReportingAssertionPlant<T, AssertionPlantNullable<T>>