doc / ch.tutteli.atrium.assertions.iterable.contains / IterableContains / Checker

Checker

interface Checker : Checker

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 Assertion representing this check.

Inherited Functions

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.

Inheritors

IterableContainsChecker

abstract class IterableContainsChecker : ContainsChecker, Checker

Represents the base class for IterableContains.Checker.

IterableContainsNotChecker

class IterableContainsNotChecker : Checker

Represents a check that an expected object is not contained in the search input.