abstract class IterableContainsButAtMostCheckerBuilderBase<E, T : Iterable<E>, S : ISearchBehaviour> : IterableContainsCheckerBuilder<E, T, S>
The base class for builders which create the second step of a contains at least but at most
check within the
fluent API of a sophisticated contains
assertion for Iterable.
T
- The input type of the search.
S
- The search behaviour which should be applied to the input of the search.
IterableContainsButAtMostCheckerBuilderBase(times: Int, atLeastBuilder: IterableContainsAtLeastCheckerBuilderBase<E, T, S>, containsBuilder: IterableContainsBuilder<E, T, S>, nameContainsNotFun: String, nameAtMostFun: String, nameAtLeastFun: String, nameButAtMostFun: String, nameExactlyFun: String)
The base class for builders which create the second step of a |
open val checkers: List<IChecker>
Contains all ICheckers which should be applied to the search result. |
|
val times: Int
The number which the check will compare against the actual number of times an expected object is found in the input of the search. |
fun <E : Any, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.eintraege(assertionCreator: IAssertionPlant<E>.() -> Unit, vararg otherAssertionCreators: IAssertionPlant<E>.() -> Unit): IAssertionPlant<T>
Finishes the specification of the sophisticated |
|
fun <E : Any, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.eintrag(assertionCreator: IAssertionPlant<E>.() -> Unit): IAssertionPlant<T>
Finishes the specification of the sophisticated |
|
fun <E : Any, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.entries(assertionCreator: IAssertionPlant<E>.() -> Unit, vararg otherAssertionCreators: IAssertionPlant<E>.() -> Unit): IAssertionPlant<T>
Finishes the specification of the sophisticated |
|
fun <E : Any, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.entry(assertionCreator: IAssertionPlant<E>.() -> Unit): IAssertionPlant<T>
Finishes the specification of the sophisticated |
|
fun <E, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.object(expected: E): IAssertionPlant<T>
Finishes the specification of the sophisticated |
|
fun <E, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.objects(expected: E, vararg otherExpected: E): IAssertionPlant<T>
Finishes the specification of the sophisticated |
|
fun <E, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.objekt(expected: E): IAssertionPlant<T>
Finishes the specification of the sophisticated |
|
fun <E, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.objekte(expected: E, vararg otherExpected: E): IAssertionPlant<T>
Finishes the specification of the sophisticated |
|
fun <E, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.value(expected: E): IAssertionPlant<T>
Finishes the specification of the sophisticated |
|
fun <E, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.values(expected: E, vararg otherExpected: E): IAssertionPlant<T>
Finishes the specification of the sophisticated |
|
fun <E, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.wert(expected: E): IAssertionPlant<T>
Finishes the specification of the sophisticated |
|
fun <E, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.werte(expected: E, vararg otherExpected: E): IAssertionPlant<T>
Finishes the specification of the sophisticated |
open class IterableContainsButAtMostCheckerBuilder<E, T : Iterable<E>> : IterableContainsButAtMostCheckerBuilderBase<E, T, IterableContainsInAnyOrderSearchBehaviour>
Represents the builder of the second step of a |
|
open class IterableContainsButAtMostCheckerBuilder<E, T : Iterable<E>> : IterableContainsButAtMostCheckerBuilderBase<E, T, IterableContainsInAnyOrderSearchBehaviour>
Represents the builder of the second step of a |