JUnitRuleMockery@Deprecated public class JMock extends org.junit.runners.BlockJUnit4ClassRunner
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 void |
assertMockeryIsSatisfied(Object test)
Deprecated.
|
protected Object |
createTest()
Deprecated.
|
protected Mockery |
mockeryOf(Object test)
Deprecated.
|
protected org.junit.runners.model.Statement |
possiblyExpectingExceptions(org.junit.runners.model.FrameworkMethod method,
Object test,
org.junit.runners.model.Statement next)
Deprecated.
|
protected org.junit.runners.model.Statement |
verify(org.junit.runners.model.FrameworkMethod method,
Object test,
org.junit.runners.model.Statement next)
Deprecated.
|
collectInitializationErrors, computeTestMethods, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeoutpublic JMock(Class<?> testClass) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorprotected Object createTest() throws Exception
createTest in class org.junit.runners.BlockJUnit4ClassRunnerException@Deprecated protected org.junit.runners.model.Statement possiblyExpectingExceptions(org.junit.runners.model.FrameworkMethod method, Object test, org.junit.runners.model.Statement next)
possiblyExpectingExceptions in class org.junit.runners.BlockJUnit4ClassRunnerprotected org.junit.runners.model.Statement verify(org.junit.runners.model.FrameworkMethod method,
Object test,
org.junit.runners.model.Statement next)
protected void assertMockeryIsSatisfied(Object test)
Copyright © 2003–2016 jMock. All rights reserved.