Package-level declarations

Types

Link copied to clipboard

Contains composite matchers for logical operations.

Functions

Link copied to clipboard
inline fun <T> ArgMatchersScope.and(first: T, second: T, vararg moreMatchers: T): T

Matches argument that satisfies all the matchers (first, second and all from moreMatchers). It must not receive literals. Only matchers allowed!

Link copied to clipboard
inline fun <T> ArgMatchersScope.not(matcher: T): T

Matches argument that does not satisfy matcher. It must not receive literals. Only matchers allowed!

Link copied to clipboard
inline fun <T> ArgMatchersScope.or(first: T, second: T, vararg moreMatchers: T): T

Matches argument that satisfies any matcher (first, second or any from moreMatchers). It must not receive literals. Only matchers allowed!