doc / ch.tutteli.atrium.assertions.iterable.contains.checkers / IterableContainsChecker

IterableContainsChecker

abstract class IterableContainsChecker : ContainsChecker, IChecker

Represents the base class for IIterableContains.IChecker.

It does not much more than specifying that its super class is ContainsChecker and sub-classes have to implement IIterableContains.IChecker.

Constructors

<init>

IterableContainsChecker(times: Int, nameFunToUse: String, nameFunUsed: String)

Represents the base class for IIterableContains.IChecker.

Inherited Properties

times

val times: Int

The number which the check uses to compare against the actual number of times an expected object is found in the input of the search.

Inherited Functions

createBasicAssertion

fun createBasicAssertion(description: ITranslatable, check: Boolean): IBasicAssertion

Creates an IBasicAssertion based on the given description, the property times as RawString and the given check.

Inheritors

IterableContainsAtLeastChecker

class IterableContainsAtLeastChecker : IterableContainsChecker

Represents a check that an expected entry is contained at least times in the Iterable.

IterableContainsAtMostChecker

class IterableContainsAtMostChecker : IterableContainsChecker

Represents a check that an expected entry is contained at most times in the Iterable.

IterableContainsExactlyChecker

class IterableContainsExactlyChecker : IterableContainsChecker

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