doc / ch.tutteli.atrium.creating / IAssertionPlantWithCommonFields

IAssertionPlantWithCommonFields

interface IAssertionPlantWithCommonFields<out T> (source)

An assertion plant which has CommonFields; provides the property subject for ease of use.

Types

CommonFields data class CommonFields<out T>

Common fields of an assertion plant.

Properties

commonFields abstract val commonFields: CommonFields<T>

CommonFields of this plant.

subject open val subject: T

The subject for which this plant will create/check IAssertions.

Inheritors

IAssertionPlant interface IAssertionPlant<out T : Any> : IAssertionPlantWithCommonFields<T>

Represents a plant for IAssertions and offers the possibility to check all the added assertions.

IAssertionPlantNullable interface IAssertionPlantNullable<out T> : IAssertionPlantWithCommonFields<T>

Represents an assertion plant for nullable types.