doc / ch.tutteli.atrium.logic.creating.iterable.contains.creators.impl / InOrderOnlyBaseAssertionCreator

InOrderOnlyBaseAssertionCreator

abstract class InOrderOnlyBaseAssertionCreator<E, T, SC> : IterableLikeContains.Creator<T, SC>

Constructors

<init>

InOrderOnlyBaseAssertionCreator(converter: (T) -> Iterable<E>, searchBehaviour: IterableLikeContains.SearchBehaviour)

Functions

createAssertionGroup

fun createAssertionGroup(container: AssertionContainer<T>, searchCriteria: List<SC>): AssertionGroup

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

createAssertionsAndReturnIndex

abstract fun Expect<List<E>>.createAssertionsAndReturnIndex(searchCriteria: List<SC>): Int

Inheritors

InOrderOnlyAssertionCreator

abstract class InOrderOnlyAssertionCreator<E, T, SC> : InOrderOnlyBaseAssertionCreator<E, T, SC>, InOrderOnlyMatcher<E, SC>

Represents the base class for in order only assertion creators and provides a corresponding template to fulfill its responsibility.

InOrderOnlyGroupedAssertionCreator

abstract class InOrderOnlyGroupedAssertionCreator<E, T, SC> : InOrderOnlyBaseAssertionCreator<E, T, List<SC>>, InOrderOnlyMatcher<E, SC>