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

Creator

interface Creator<in T : Iterable<*>, in S> : Contains.Creator<T, S>, IterableContains.Creator<T, S>
Deprecated: Use the interface from package domain.creating; will be removed with 1.0.0

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

open class IterableContainsInAnyOrderEntriesAssertionCreator<E : Any, T : Iterable<E?>> : ContainsAssertionCreator<T, (AssertionPlant<E>.() -> Unit)?, IterableContains.Checker>, IterableContains.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, IterableContains.Checker>, IterableContains.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?>, SC> : IterableContains.Creator<T, SC>

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?>, SC> : IterableContains.Creator<T, SC>

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