Registry / testing / jmock-legacy

jmock-legacy

JSON →
library2.13.1javamavenunverified

JMock Legacy provides support for legacy mocking features in the JMock library for Java unit testing.

<dependency> <groupId>org.jmock</groupId> <artifactId>jmock-legacy</artifactId> <version>2.13.1</version> </dependency>
INSTALL
IMPORT
SIG · JMOCK-LEGACY
J
jmock-legacy
testingjavav2.13.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mockery
org.jmock.Mockery

Create and use JMock mockery

import org.jmock.Mockery; import org.jmock.Expectations; Mockery context = new Mockery(); final MyInterface mock = context.mock(MyInterface.class); context.checking(new Expectations() {{ oneOf(mock).someMethod(); }});
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.13.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jmock-legacy — mvn dependency:get jmock-legacy · libregistry