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

ContainsBuilder

abstract class ContainsBuilder<out T : Any, out S : SearchBehaviour> : Builder<T, S> (source)
Deprecated: Use the interface Contains.Builder instead; will be removed with 1.0.0

Represents the deprecated 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

open val plant: AssertionPlant<T>

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

searchBehaviour

open 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>, Builder<T, S>

Represents the deprecated 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

open class IterableContainsBuilder<out E, out T : Iterable<E>, out S : SearchBehaviour> : ContainsBuilder<T, S>, Builder<E, T, S>

Represents the deprecated 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.