doc / ch.tutteli.atrium.assertions.basic.contains / Contains / Checker / createAssertion

createAssertion

abstract fun createAssertion(foundNumberOfTimes: Int): Assertion

Creates an Assertion representing this check based on the given foundNumberOfTimes which is the result of the search.

Return
The newly created Assertion.