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

Checker

interface Checker : Checker (source)
Deprecated: use the interface from package domain.creating, will be removed with 1.0.0

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

Checker

interface Checker : Checker, Checker

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

Checker

interface Checker : Checker, Checker

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

ContainsChecker

abstract class ContainsChecker : Checker

Represents the deprecated base class for Contains.Checkers which compare how many occurrences of an expected object are found in the input of the search, against how many times the check expect it to be contained.