atrium-core-impl-robstoll-lib / ch.tutteli.atrium.creating / ReportingAssertionPlantImpl

ReportingAssertionPlantImpl

class ReportingAssertionPlantImpl<out T : Any> : MutableListBasedReportingAssertionPlant<T, AssertionPlant<T>>, ReportingAssertionPlant<T>

An AssertionPlant which checks each added Assertion immediately.

Parameters

T - The type of the subject of this AssertionPlant.

Constructors

<init>

ReportingAssertionPlantImpl(commonFields: CommonFields<T>)

An AssertionPlant which checks each added Assertion immediately.

Properties

self

val self: ReportingAssertionPlantImpl<T>

The instance itself but typed as A which is the type used for the fluent style API.

Inherited Properties

commonFields

open val commonFields: CommonFields<T>

Functions

addAssertionsCreatedBy

fun addAssertionsCreatedBy(assertionCreator: AssertionPlant<T>.() -> Unit): AssertionPlant<T>

Inherited Functions

addAssertion

fun addAssertion(assertion: Assertion): A