Package-level declarations
Types
Provides a set of operations available in non-suspendable mocked function context.
Provides a set of operations available in any mocked function context.
Provides a set of operations available in a Mokkery mock/spy context.
Provides a set of operations available in a Mokkery mock context.
Base interface for all scopes that are based on MokkeryContext. Provides a set of operations that are available in all contexts.
Provides a set of operations available in a Mokkery spy context.
A scope for a test suite that uses Mokkery mocks. It enables automation and strict exhaustiveness checks.
Provides a set of operations available in suspendable mocked function context.
Properties
Returns current call.
Returns MockMode of the mock associated with this scope.
Returns all mocks from this MokkerySuiteScope.
Equivalent of this in the scope of currently called function.
Returns reference spied by the spy associated with this scope.
Functions
Calls original method implementation with given args.
Provides mock implementation of given type T. It is a child of given MokkerySuiteScope.
Provides mock implementation of T1 and T2. It is a child of given MokkerySuiteScope.
Provides mock implementation of T1, T2 and T3. It is a child of given MokkerySuiteScope.
Provides mock implementation of T1, T2, T3 and T4. It is a child of given MokkerySuiteScope.
Creates MokkerySuiteScope instance with given extra context.
Removes all answers configured for given mocks.
Clears call history for all given mocks.
Returns MokkeryCallScope.self as T.
Returns MokkerySpyScope.spiedObject as T.
Returns given obj wrapped with a spying implementation of T. It is a child of given MokkerySuiteScope.
Asserts that all given mocks have all their registered calls verified with verify or verifySuspend.
Asserts that all mocks from given MokkerySuiteScope have no unverified calls.
Just like verify, but allows suspendable function calls.
Just like verify, but allows suspendable function calls.