matching

fun <T> matching(condition: (T) -> Boolean): ParameterMatcher<T>

Creates a ParameterMatcher that matches based on a given condition. This is stronger than notEq but weaker than oneOf.

Parameters

condition

The condition on which to match