public class JMock
extends org.junit.internal.runners.JUnit4ClassRunner
Runner
that asserts that all expectations have been met after
the test has finished and before the fixture is torn down.Constructor and Description |
---|
JMock(java.lang.Class<?> testClass) |
Modifier and Type | Method and Description |
---|---|
protected Mockery |
mockeryOf(java.lang.Object test) |
protected org.junit.internal.runners.TestMethod |
wrapMethod(java.lang.reflect.Method method) |
public JMock(java.lang.Class<?> testClass) throws org.junit.internal.runners.InitializationError
org.junit.internal.runners.InitializationError
protected org.junit.internal.runners.TestMethod wrapMethod(java.lang.reflect.Method method)
wrapMethod
in class org.junit.internal.runners.JUnit4ClassRunner
protected Mockery mockeryOf(java.lang.Object test)