Matching
class Matching<T>(val predicate: (T) -> Boolean, val toStringFun: () -> String) : ArgMatcher<T> (source)
Matches an argument according to the predicate. Registered matcher Any.toString calls toStringFun.
Constructors
Functions
Link copied to clipboard
Helper function to propagate capture for dev.mokkery.matcher.ArgMatcher.Composite.