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

MutableListBasedReportingAssertionPlant

abstract class MutableListBasedReportingAssertionPlant<out T, out A : BaseAssertionPlant<T, A>> : MutableListBasedAssertionPlant<T, A>, BaseReportingAssertionPlant<T, A>

Constructors

<init>

MutableListBasedReportingAssertionPlant(commonFields: CommonFields<T>)

Properties

commonFields

open val commonFields: CommonFields<T>

Inherited Properties

self

abstract val self: A

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

Functions

addAssertion

fun addAssertion(assertion: Assertion): A

Inherited Functions

clearAssertions

fun clearAssertions(): Unit

getAssertions

fun getAssertions(): List<Assertion>

Inheritors

ReportingAssertionPlantImpl

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

An AssertionPlant which checks each added Assertion immediately.

ReportingAssertionPlantNullableImpl

class ReportingAssertionPlantNullableImpl<out T> : MutableListBasedReportingAssertionPlant<T, AssertionPlantNullable<T>>, ReportingAssertionPlantNullable<T>

An AssertionPlant for nullable types.