doc / ch.tutteli.atrium.assertions.charsequence.contains / CharSequenceContains / 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

CharSequenceContainsChecker

abstract class CharSequenceContainsChecker : ContainsChecker, Checker

Represents the base class for CharSequenceContains.Checker.

CharSequenceContainsNotChecker

class CharSequenceContainsNotChecker : Checker

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