InOrderOnlyValuesAssertionCreator

constructor(converter: (T) -> Iterable<E>, searchBehaviour: InOrderOnlySearchBehaviour, reportingOptions: InOrderOnlyReportingOptions.() -> Unit)(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.

searchBehaviour

The search behaviour -- in this case representing in any order only which is used to decorate the description (a Translatable) which is used for the AssertionGroup.