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

InOrderOnlyValuesAssertionCreator

class InOrderOnlyValuesAssertionCreator<E, T> : InOrderOnlyAssertionCreator<E, T, E>, InOrderOnlyMatcher<E, E>

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 an expected object (equality comparison).

Parameters

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

Constructors

<init>

InOrderOnlyValuesAssertionCreator(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 an expected object (equality comparison).

Inherited Functions

createAssertionsAndReturnIndex

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