NotOrAtMostCheckerStepImpl

Constructors

Link copied to clipboard
constructor(times: Int, nameContainsNotFun: String, notOrAtMostCall: (Int) -> String, entryPointStepLogic: CharSequenceContains.EntryPointStepLogic<T, S>)

Properties

Link copied to clipboard

Entry point to the logic level of Atrium -- which is one level deeper than the API -- within the building process of a sophisticated contains assertion for CharSequence.

Link copied to clipboard
open override val checkers: List<AtMostChecker>

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
inline fun <T> CharSequenceContains.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.