doc / ch.tutteli.atrium.domain.creating.charsequence.contains / CharSequenceContains / Creator

Creator

interface Creator<in T : CharSequence, in SC> : Contains.Creator<T, SC>

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

Parameters

T - The type of the suject of the assertion.

SC - The type of the search criteria.

Inherited Functions

createAssertionGroup

abstract fun createAssertionGroup(subjectProvider: SubjectProvider<T>, searchCriteria: List<SC>): AssertionGroup

Creates an AssertionGroup representing the sophisticated contains assertion for the subject the given subjectProvider provides, based on the given searchCriteria.

Inheritors

CharSequenceContainsAssertionCreator

class CharSequenceContainsAssertionCreator<T : CharSequence, S : CharSequenceContains.SearchBehaviour> : ContainsObjectsAssertionCreator<T, Any, S, CharSequenceContains.Checker>, CharSequenceContains.Creator<T, Any>

Represents a creator of sophisticated contains assertions for CharSequence.

Creator

interface Creator<in T : CharSequence, in SC> : Contains.Creator<T, SC>, CharSequenceContains.Creator<T, SC>

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