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

CheckingAssertionPlantImpl

class CheckingAssertionPlantImpl<out T : Any> : MutableListBasedAssertionPlant<T, AssertionPlant<T>>, CheckingAssertionPlant<T>

Constructors

<init>

CheckingAssertionPlantImpl(subject: T)

Properties

self

val self: CheckingAssertionPlantImpl<T>

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

subject

val subject: T

Functions

addAssertionsCreatedBy

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

allAssertionsHold

fun allAssertionsHold(): Boolean

Inherited Functions

addAssertion

open fun addAssertion(assertion: Assertion): A

clearAssertions

fun clearAssertions(): Unit

getAssertions

fun getAssertions(): List<Assertion>