WithTimesCheckerStepLogic
interface WithTimesCheckerStepLogic<E, T : IterableLike, out S : IterableLikeContains.SearchBehaviour> : IterableLikeContains.CheckerStepLogic<E, T, S> (source)
A IterableLikeContains.CheckerStepLogic which is used to choose a IterableLikeContains.Checker which is based on a number of times.
Inheritors
Properties
Link copied to clipboard
Contains all Checkers which should be applied to the search result.
Link copied to clipboard
The previously chosen EntryPointStep, containing inter alia the AssertionContainer to which the resulting Assertion shall be appended.
Functions
Link copied to clipboard
fun <E, T : IterableLike, S : IterableLikeContains.SearchBehaviour> WithTimesCheckerStepLogic<E, T, S>.butAtMostCheckerStep(times: Int, nameContainsNotFun: String, atLeastButAtMostCall: (Int, Int) -> String, atLeastCall: (Int) -> String, butAtMostCall: (Int) -> String, exactlyCall: (Int) -> String, atMostCall: (Int) -> String): ButAtMostCheckerStep<E, T, S>
Link copied to clipboard
inline fun <T> IterableLikeContains.CheckerStepLogic<*, *, *>.toVarArg(iterableLike: IterableLike): Pair<T, Array<out T>>
Transforms the given iterableLike to Pair<T, Array<out T>>
with the intention that it can be easily used for a function requiring T, vararg T
.
Link copied to clipboard
fun <E, T : IterableLike> IterableLikeContains.CheckerStepLogic<E, T, InAnyOrderSearchBehaviour>.values(expected: List<E>, notToHaveNextOrNoneFunName: String): Assertion