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

InOrderOnlyEntriesAssertionCreator

class InOrderOnlyEntriesAssertionCreator<E : Any, T> : InOrderOnlyAssertionCreator<E?, T, (Expect<E>.() -> Unit)?>, InOrderOnlyMatcher<E?, (Expect<E>.() -> Unit)?>

Represents a creator of a sophisticated contains assertions for Iterable where exactly the expected entries have to appear in the specified order and where an entry is identified by holding a group of assertions, created by an assertion creator lambda.

Parameters

T - The type of the subject of the assertion for which the contains assertion is be build.

Constructors

<init>

InOrderOnlyEntriesAssertionCreator(converter: (T) -> Iterable<E?>, searchBehaviour: InOrderOnlySearchBehaviour)

Represents a creator of a sophisticated contains assertions for Iterable where exactly the expected entries have to appear in the specified order and where an entry is identified by holding a group of assertions, created by an assertion creator lambda.

Inherited Functions

createAssertionsAndReturnIndex

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