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.Modifier and Type | Method and Description |
---|---|
protected Mockery |
mockeryOf(Object test) |
protected org.junit.internal.runners.TestMethod |
wrapMethod(Method method) |
classAnnotations, createTest, filter, getDescription, getName, getTestClass, getTestMethods, invokeTestMethod, methodDescription, run, runMethods, sort, testAnnotations, testName, validate
public JMock(Class<?> testClass) throws org.junit.internal.runners.InitializationError
protected org.junit.internal.runners.TestMethod wrapMethod(Method method)
wrapMethod
in class org.junit.internal.runners.JUnit4ClassRunner