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

addAssertionsAndReturnIndex

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

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.

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>