doc / ch.tutteli.atrium / AtriumFactory / newCheckingPlant

newCheckingPlant

fun <T : Any> newCheckingPlant(subject: T): CheckingAssertionPlant<T>

Overrides IAtriumFactory.newCheckingPlant

Creates a CheckingAssertionPlant which provides a method to check whether allAssertionsHold.

Parameters

subject - The subject for which this plant will create Assertions.

Return
The newly created assertion plant.