notEq

fun <T> notEq(value: T): ParameterMatcher<T>

Creates a ParameterMatcher that matches anything but a given value This is stronger than isInstance but weaker than matches.

Parameters

value

The value that the parameter must not match