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

createBasicAssertion

protected fun createBasicAssertion(description: ITranslatable, check: Boolean): IBasicAssertion

Creates an IBasicAssertion based on the given description, the property times as RawString and the given check.

Parameters

description - The description used for IBasicAssertion.description check - The check used for IBasicAssertion.holds

Return
The newly created IBasicAssertion.