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

newReportingPlantNullable

abstract fun <T> newReportingPlantNullable(commonFields: AssertionPlantWithCommonFields.CommonFields<T>): ReportingAssertionPlantNullable<T>
Deprecated: Switch to Expect instead of Assert, thus use newReportingAssertionContainer instead; will be removed with 1.0.0

Creates a ReportingAssertionPlantNullable which is the entry point for assertions about nullable types.

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

Parameters

commonFields - The commonFields for the new assertion plant.

Return
The newly created assertion plant.