doc / ch.tutteli.atrium.logic.creating.charsequence.contains.checkers.impl / DefaultExactlyChecker / createAssertion

createAssertion

fun createAssertion(foundNumberOfTimes: Int): Assertion (source)

Overrides Checker.createAssertion

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

Return
The newly created Assertion.