doc / ch.tutteli.atrium.assertions.basic.contains.builders / ContainsBuilder

ContainsBuilder

abstract class ContainsBuilder<out T : Any, S : ISearchBehaviour>

Represents the base class for builders representing the entry point of the process of building a sophisticated contains assertion.

Parameters

T - The type of the IAssertionPlant.subject. S - The type of the current IContains.ISearchBehaviour.

Constructors

<init>

ContainsBuilder(plant: IAssertionPlant<T>, decorator: S)

Represents the base class for builders representing the entry point of the process of building a sophisticated contains assertion.

Properties

decorator

val decorator: S

The search behaviour which shall be applied to the input of the search.

plant

val plant: IAssertionPlant<T>

The IAssertionPlant for which the sophisticated contains assertions shall be built.

Inheritors

CharSequenceContainsBuilder

class CharSequenceContainsBuilder<out T : CharSequence, S : ISearchBehaviour> : ContainsBuilder<T, S>

Represents the entry point of the fluent API of sophisticated contains assertions. It contains the plant for which the IAssertion shall be build as well as the decoration behaviour which shall be applied to the plant's subject.

IterableContainsBuilder

class IterableContainsBuilder<out E, out T : Iterable<E>, S : ISearchBehaviour> : ContainsBuilder<T, S>

Represents the entry point of the fluent API of sophisticated contains assertions. It contains the plant for which the IAssertion shall be build as well as the decoration behaviour which shall be applied to the plant's subject.