doc / ch.tutteli.atrium / IAtriumFactory / newCheckingPlant

newCheckingPlant

abstract fun <T : Any> newCheckingPlant(subject: T): CheckingAssertionPlant<T> (source)
Deprecated: Use AssertImpl.coreFactory instead; will be removed with 1.0.0

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.