JMock Core API
Core library for creating mock objects and defining expectations in Java tests using an expressive DSL. Supports JUnit 4 and JUnit 5, modern JDK versions, and integrates seamlessly with IDE refactoring and autocompletion tools.
Documentation
Other Resources
Getting Started
http://www.jmock.org/getting-started.html
Cookbook
http://www.jmock.org/cookbook.html
Cheat Sheet
http://www.jmock.org/cheat-sheet.html
JavaDoc
http://www.jmock.org/javadoc/2.12.0/
GitHub Repository
https://github.com/jmock-developers/jmock-library
Maven Central
https://mvnrepository.com/artifact/org.jmock/jmock