Class MockitoTestRule
- java.lang.Object
-
- com.atlassian.confluence.util.test.rules.MockitoTestRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
@Deprecated public class MockitoTestRule extends Object implements org.junit.rules.TestRule
Deprecated.since 7.20 useMockitoJUnit.testRule(Object)
Wrapper around Mockito's own JUnit Rule support, since we need a TestRule for chaining, not a MethodRule.Hopefully this all goes away when Mockito drops support for older JUnit releases.
-
-
Constructor Summary
Constructors Constructor Description MockitoTestRule(Object target)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.junit.runners.model.Statement
apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
Deprecated.
-
-
-
Constructor Detail
-
MockitoTestRule
public MockitoTestRule(Object target)
Deprecated.
-
-