Package io. mockk
Types
Matcher to replace all unspecified argument matchers to any() Handled by logic in a special way
Boolean logic "AND" and "OR" matcher composed of two other matchers
Matcher that can match arrays via provided matchers for each element.
Manipulable field value
Call happened for stubbed mock
Matcher capturing all results to the list.
Matcher capturing all results to the list. Allows nulls
Captures the argument
Slot allows to capture one value.
Matcher capturing one last value to the CapturingSlot
Matcher comparing values
Matcher composed from several other matchers.
Returns one constant reply
Allows to deregister something was registered before
Allows to substitute matcher to find correct chained call
Delegates matching to lambda function
Mock invocation
Checks if invocation is matching via number of matchers
Invokes lambda
Required to signalize many answers available
Returns many different replies, each time moving the next list element. Stops at the end.
Provides information about method
Scope to chain additional answers to reply. Part of DSL
Scope for answering functions. Part of DSL
Part of DSL. Scope for assertions on arguments during verifications.
Scope for constructor calls. Part of DSL.
Exception thrown by library
Mediates mocking implementation
Basic stub/verification scope. Part of DSL.
Scope for object mockks. Part of DSL
Scope for static mockks. Part of DSL
Stub scope. Part of DSL
Composite of two scopes. Part of DSL
Cancelable mocking scope
Part of DSL. Additional operations for verification scope.
Boolean logic "NOT" matcher composed of one matcher
Matched call
Throws exception instead of function reply
Checks if argument is of specific type
Functions
Part of DSL. Answer placeholder for Unit returning functions.
Part of DSL. Answer placeholder for Unit returning functions.