abstract fun <T : Any> newCheckingPlant(subjectProvider: () -> T): CheckingAssertionPlant<T>
(source)
Creates a CheckingAssertionPlant which provides a method to check whether allAssertionsHold.
subjectProvider
- The provider which provides the subject for which this plant will
create and check Assertions.
Return
The newly created assertion plant.