Package org.xwiki.test.jmock
Class JMockRule
- java.lang.Object
-
- org.jmock.Mockery
-
- org.jmock.integration.junit4.JUnit4Mockery
-
- org.jmock.integration.junit4.JUnitRuleMockery
-
- org.xwiki.test.jmock.JMockRule
-
- All Implemented Interfaces:
org.hamcrest.SelfDescribing,org.junit.rules.MethodRule
@Deprecated public class JMockRule extends org.jmock.integration.junit4.JUnitRuleMockery
Deprecated.we're now standardizing on Mockito, use Mockito instead!Extends the JMock Rule for setting up JMock and configures it for Thread safety.- Since:
- 4.3.1
- Version:
- $Id: 405a4f92c7d0c8d19f190f8d952878181a3f758a $
-
-
Constructor Summary
Constructors Constructor Description JMockRule()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.junit.runners.model.Statementapply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod method, Object target)Deprecated.
-
-
-
Method Detail
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod method, Object target)Deprecated.- Specified by:
applyin interfaceorg.junit.rules.MethodRule- Overrides:
applyin classorg.jmock.integration.junit4.JUnitRuleMockery
-
-