JUnitRuleMockery@Deprecated public class JMock extends 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 Statement |
possiblyExpectingExceptions(FrameworkMethod method,
Object test,
Statement next)
Deprecated.
|
protected Statement |
verify(FrameworkMethod method,
Object test,
Statement next)
Deprecated.
|
collectInitializationErrors, computeTestMethods, describeChild, getChildren, getTestRules, methodBlock, methodInvoker, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeoutchildrenInvoker, classBlock, classRules, filter, getDescription, getName, getRunnerAnnotations, getTestClass, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClassespublic JMock(Class<?> testClass) throws InitializationError
InitializationErrorprotected Object createTest() throws Exception
createTest in class BlockJUnit4ClassRunnerException@Deprecated protected Statement possiblyExpectingExceptions(FrameworkMethod method, Object test, Statement next)
possiblyExpectingExceptions in class BlockJUnit4ClassRunnerprotected Statement verify(FrameworkMethod method, Object test, Statement next)
protected void assertMockeryIsSatisfied(Object test)