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

ContainsBuilder

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

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 AssertionPlant.subject. S - The type of the current Contains.SearchBehaviour.

Constructors

<init>

ContainsBuilder(plant: AssertionPlant<T>, searchBehaviour: S)

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

Properties

plant

val plant: AssertionPlant<T>

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

searchBehaviour

val searchBehaviour: S

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

Inheritors

CharSequenceContainsBuilder

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

Represents the entry point of the fluent API of sophisticated contains assertions. It contains the plant for which the Assertion 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>, out S : SearchBehaviour> : ContainsBuilder<T, S>

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