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

Creator

interface Creator<in T : Any, in S>

Represents the final step of a sophisticated contains assertion builder which creates the AssertionGroup as such.

Parameters

T - The type of the AssertionPlant.subject. S - The type of the search criteria.

Functions

createAssertionGroup

abstract fun createAssertionGroup(plant: AssertionPlant<T>, searchCriterion: S, otherSearchCriteria: Array<out S>): AssertionGroup

Creates an AssertionGroup representing the sophisticated contains assertion for the given plant based on the given searchCriterion and possibly otherSearchCriteria (might be empty).

Inheritors

ContainsAssertionCreator

abstract class ContainsAssertionCreator<T : Any, S, C : Checker> : Creator<T, S>

Represents the base class for Contains.Creators, providing a template to fulfill its job.

Creator

interface Creator<in T : CharSequence, in S> : Creator<T, S>

Represents the final step of a sophisticated contains assertion builder which creates the AssertionGroup as such.

Creator

interface Creator<in T : Iterable<*>, in S> : Creator<T, S>

Represents the final step of a sophisticated contains assertion builder which creates the AssertionGroup as such.