doc / ch.tutteli.atrium.assertions.basic.contains / IContains / IChecker

IChecker

interface 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.

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

ContainsChecker

abstract class ContainsChecker : IChecker

Represents a base class for IContains.ICheckers 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.

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.

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.