NoOpCheckerStep

Represents a "no IterableLikeContains.Checker" option, meaning no checker shall be applied to a search result.

The checking as such is then usually carried out by the IterableLikeContains.Creator.

Constructors

Link copied to clipboard
constructor(entryPointStepLogic: IterableLikeContains.EntryPointStepLogic<E, 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 Iterable.

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 : Any, T : IterableLike> IterableLikeContains.CheckerStepLogic<out E?, T, InAnyOrderSearchBehaviour>.entries(assertionCreators: List<Expect<E>.() -> Unit?>, notToHaveNextOrNoneFunName: String): Assertion
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