InAnyOrderValuesAssertionCreator
constructor(converter: (T) -> Iterable<SC>, 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 expected objects (equality comparison).
Parameters
T
The type of the subject of this expectation for which the contains
assertion is be build.
SC
The type of the elements of the iterable, used as search criteria.
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.