doc / ch.tutteli.atrium / AtriumFactory / newCheckImmediately

newCheckImmediately

fun <T : Any> newCheckImmediately(commonFields: CommonFields<T>): IAssertionPlant<T>

Overrides IAtriumFactory.newCheckImmediately

Creates an IAssertionPlant which immediately checks added IAssertions.

It uses the IAssertionPlantWithCommonFields.CommonFields.assertionChecker of the given commonFields for assertion checking.

Parameters

commonFields - The commonFields for the new assertion plant.

Return
The newly created assertion plant.