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

ICreator

interface ICreator<in T : Any, in S>

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

Parameters

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

Functions

createAssertionGroup

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

Creates an IAssertionGroup 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 : IChecker> : ICreator<T, S>

Represents the base class for IContains.ICreators, providing a template to fulfill its job.

ICreator

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

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

ICreator

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

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