InAnyOrderOnlyEntriesAssertionCreator

constructor(converter: (T) -> Iterable<E?>, searchBehaviour: InAnyOrderOnlySearchBehaviour, reportingOptions: InAnyOrderOnlyReportingOptions.() -> Unit)(source)

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

Parameters

E

The type of the elements of the Iterable the converter is going to create.

T

The type of the subject of this 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.