InAnyOrderEntriesAssertionCreator

constructor(converter: (T) -> Iterable<E?>, searchBehaviour: InAnyOrderSearchBehaviour, checkers: List<IterableLikeContains.Checker>, notToHaveNextOrNoneFunName: String)(source)

Represents a creator of a sophisticated contains assertions for Iterable where expected entries can appear in any order and are identified by holding a group of assertions, created by an assertion creator lambda.

Parameters

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 which is used to decorate the description (a Translatable) which is used for the AssertionGroup.

checkers

The checkers which create assertions based on the search result.