doc / ch.tutteli.atrium.core / CoreFactoryCommon / newCheckingPlant

newCheckingPlant

abstract fun <T : Any> newCheckingPlant(subjectProvider: () -> T): CheckingAssertionPlant<T> (source)

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

Parameters

subjectProvider - The provider which provides the subject for which this plant will create and check Assertions.

Return
The newly created assertion plant.