doc / ch.tutteli.atrium.assertions.iterable.contains / IterableContains / Creator

Creator

interface Creator<in T : Iterable<*>, in S> : Creator<T, S>

Represents the final step of a sophisticated contains assertion builder which creates the AssertionGroup as such.

Parameters

T - The type of the AssertionPlant.subject. S - The type of the search criteria.

Inheritors

IterableContainsInAnyOrderEntriesAssertionCreator

class IterableContainsInAnyOrderEntriesAssertionCreator<E : Any, T : Iterable<E>> : ContainsAssertionCreator<T, AssertionPlant<E>.() -> Unit, Checker>, Creator<T, AssertionPlant<E>.() -> Unit>

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

IterableContainsInAnyOrderObjectsAssertionCreator

class IterableContainsInAnyOrderObjectsAssertionCreator<S, T : Iterable<S>> : ContainsObjectsAssertionCreator<T, S, IterableContainsInAnyOrderSearchBehaviour, Checker>, Creator<T, S>

Represents a creator of a sophisticated contains assertions for Iterable where an expected entry can appear in any order and is identified by expected objects (equality comparison).

IterableContainsInAnyOrderOnlyAssertionCreator

abstract class IterableContainsInAnyOrderOnlyAssertionCreator<E, T : Iterable<E>, S> : Creator<T, S>

Represents the base class for in any order only assertion creators and provides a corresponding template to fulfill its responsibility.

IterableContainsInOrderOnlyAssertionCreator

abstract class IterableContainsInOrderOnlyAssertionCreator<E, T : Iterable<E>, S> : Creator<T, S>

Represents the base class for in order only assertion creators and provides a corresponding template to fulfill its responsibility.