NotNullMatcher
class NotNullMatcher<T>(val matcher: ArgMatcher<T & Any>? = null) : ArgMatcher.Composite<T> (source)
Matches an argument that is not null and matches matcher.
Functions
Link copied to clipboard
Checks if is it is properly filled and throws exception if it is not. It is called when composite is considered "final". It is often used to verify missing matchers.
Link copied to clipboard
Link copied to clipboard
Helper function to propagate capture for dev.mokkery.matcher.ArgMatcher.Composite.