doc / ch.tutteli.atrium.assertions.basic.contains.checkers / ContainsChecker / createBasicAssertion

createBasicAssertion

protected fun createBasicAssertion(description: Translatable, check: Boolean): DescriptiveAssertion

Creates a DescriptiveAssertion based on the given description, the property times as StringBasedRawString and the given check.

Parameters

description - The description used for DescriptiveAssertion.description

check - The check used for DescriptiveAssertion.holds

Return
The newly created DescriptiveAssertion.