oneOf

fun <T> oneOf(values: List<T>): ParameterMatcher<T>

Creates a ParameterMatcher that matches any value in a given list This is stronger than matches but weaker than eq.

Parameters

values

The list of values that the parameter is allowed to match.