abstract class ContainsCheckerBuilder<out T : Any, out S : SearchBehaviour, out C : Checker, out B : ContainsBuilder<T, S>>
Represents the base class for builders representing a checking step in the process of building a sophisticated
contains
assertion.
T
- The type of the AssertionPlant.subject.
S
- The type of the current Contains.SearchBehaviour.
C
- The type of the checkers in use (typically a sub interface of Contains.Checker).
B
- The concrete type of the builder representing the entry point of the process of building a sophisticated
contains
assertion.
ContainsCheckerBuilder(containsBuilder: B)
Represents the base class for builders representing a checking step in the process of creating a
sophisticated |
abstract val checkers: List<C>
Contains all Checkers which should be applied to the search result. |
|
val containsBuilder: B
The builder representing the entry point of the process of building a sophisticated
|
fun addAssertion(assertion: Assertion): AssertionPlant<T>
Helper method to simplify adding assertions to the plant which itself is stored in containsBuilder. |
abstract class CharSequenceContainsCheckerBuilder<out T : CharSequence, out S : SearchBehaviour> : ContainsCheckerBuilder<T, S, Checker, CharSequenceContainsBuilder<T, S>>
The base class for builders which create Checkers within the fluent API of a sophisticated
|
|
abstract class IterableContainsCheckerBuilder<out E, out T : Iterable<E>, out S : SearchBehaviour> : ContainsCheckerBuilder<T, S, Checker, IterableContainsBuilder<E, T, S>>
The base class for builders which create Checkers within the fluent API of a sophisticated
|