# JMock Core API

**Canonical:** https://apis.io/apis/jmock/jmock-core-api/  
**Provider:** JMock — https://apis.io/providers/jmock/  
**Documentation:** http://www.jmock.org/

JMock Core API is published by [JMock](https://apis.io/providers/jmock/) on the [APIs.io](https://apis.io/) network. Tagged areas include Java, Mocking, and Testing. The published artifact set on APIs.io includes API documentation, a getting-started guide, and a GitHub repository.

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.

## Machine-readable artifacts (8)

- **Documentation** — http://www.jmock.org/documentation.html
- **GettingStarted** — 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/
- **GitHubRepository** — https://github.com/jmock-developers/jmock-library
- **Maven Central** — https://mvnrepository.com/artifact/org.jmock/jmock
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/jmock/refs/heads/main/apis.yml

## Tags

Java, Mocking, Testing

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/jmock/jmock-core-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/jmock/.
