doc / ch.tutteli.atrium / IAtriumFactory / newCheckingPlant

newCheckingPlant

abstract fun <T : Any> newCheckingPlant(subject: T): ICheckingAssertionPlant<T>

Creates an ICheckingAssertionPlant which provides a method to check whether allAssertionsHold.

Parameters

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

Return
The newly created assertion plant.