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

InOrderOnlyValuesAssertionCreator

class InOrderOnlyValuesAssertionCreator<E, T> : InOrderOnlyAssertionCreator<E, T, E>, InOrderOnlyMatcher<E, E> (source)

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 subject of the expectation for which the contains assertion is be build.

Constructors

<init>

InOrderOnlyValuesAssertionCreator(converter: (T) -> Iterable<E>, searchBehaviour: InOrderOnlySearchBehaviour, reportingOptions: InOrderOnlyReportingOptions.() -> 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 an expected object (equality comparison).

Inherited Functions

addAssertionsAndReturnIndex

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