doc / ch.tutteli.atrium.assertions.iterable.contains.checkers / IterableContainsExactlyChecker / createAssertion

createAssertion

fun createAssertion(foundNumberOfTimes: Int): IAssertion

Overrides IChecker.createAssertion

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

Return
The newly created IAssertion.