doc / ch.tutteli.atrium.assertions.iterable.contains / IIterableContains / IChecker

IChecker

interface IChecker : IChecker

Represents a check for the search result such as: the object is contained exactly once in the input of the search.

It provides the method createAssertion which creates an IAssertion representing this check.

Inherited Functions

createAssertion

abstract fun createAssertion(foundNumberOfTimes: Int): IAssertion

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

Inheritors

IterableContainsChecker

abstract class IterableContainsChecker : ContainsChecker, IChecker

Represents the base class for IIterableContains.IChecker.