Module com.roscopeco.moxy.core

Moxy is a type-safe mocking/spying framework for Java with a fluent API and built-in support for advanced features.

The easiest way to get started is to use the Moxy class (follow the link, there's some examples there too).

This module provides the core functionality for the framework, providing the ability to create mocks, set them up for testing, and verify that they were interacted with as per your expectations.

It takes inspiration from a number of other popular mocking frameworks, notably Mockito. It aims to be lean, fast, and as far as possible to lack the "surprises" one finds in other mocking frameworks (e.g. it should not give weird failures in unrelated tests, but instead should fail fast when used improperly).