Constructors

Link copied to clipboard
constructor(times: Int, entryPointStepLogic: CharSequenceContains.EntryPointStepLogic<T, S>, checkers: List<CharSequenceContains.Checker>)

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

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.

Link copied to clipboard
open override val times: Int

Functions

Link copied to clipboard
fun <T : CharSequence, S : CharSequenceContains.SearchBehaviour> WithTimesCheckerStepLogic<T, S>.butAtMostCheckerStep(times: Int, nameContainsNotFun: String, atLeastButAtMostCall: (Int, Int) -> String, atLeastCall: (Int) -> String, butAtMostCall: (Int) -> String, exactlyCall: (Int) -> String, atMostCall: (Int) -> String): ButAtMostCheckerStep<T, S>
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.