interface WithTimesCheckerStepLogic<E, T, out S : IterableLikeContains.SearchBehaviour> : IterableLikeContains.CheckerStepLogic<E, T, S>
A IterableLikeContains.CheckerStepLogic which is used to choose a IterableLikeContains.Checker which is based on a number of times.
abstract val times: Int |
fun <E, T, 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> |
|
fun <T> IterableLikeContains.CheckerStepLogic<*, *, *>.toVarArg(iterableLike: IterableLike): Pair<T, Array<out T>>
Transforms the given iterableLike to |
interface WithTimesCheckerStepInternal<E, T, out S : IterableLikeContains.SearchBehaviour> : WithTimesCheckerStep<E, T, S>, WithTimesCheckerStepLogic<E, T, S>, IterableLikeContains.CheckerStepInternal<E, T, S>
Sole purpose of this interface is to hide IterableLikeContains.CheckerStepLogic from newcomers which usually don't have to deal with this type and to keep the API clean. |