ArgMatcher
Checks if given argument satisfies provided conditions.
Inheritors
Types
Link copied to clipboard
Matches any argument.
Link copied to clipboard
class Comparing<T : Comparable<T>>(val value: T, val type: ArgMatcher.Comparing.Type) : ArgMatcher<T>
Matches any Comparable depending on type parameter.
Link copied to clipboard
Arg matcher that must be composed with other matchers. Every composite matcher has to implement Capture to propagate it to its children. Use dev.mokkery.matcher.capture.propagateCapture for convenience.
Link copied to clipboard
Matches an argument according to the predicate. Registered matcher Any.toString calls toStringFun.
Link copied to clipboard
Matches an argument whose reference is not equal to value's reference.
Functions
Link copied to clipboard
Helper function to propagate capture for dev.mokkery.matcher.ArgMatcher.Composite.