Package org.mockito.junit
Class MockitoJUnitRule
java.lang.Object
org.mockito.junit.MockitoJUnitRule
- All Implemented Interfaces:
org.junit.rules.MethodRule
,MockitoRule
@Deprecated
public class MockitoJUnitRule
extends Object
implements org.junit.rules.MethodRule, MockitoRule
Deprecated.
Please use
MockitoJUnit.rule()
instead of direct use.
The reason of the deprecation is that we want to avoid concrete classes in the public api.- Since:
- 1.10.6
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MockitoJUnitRule
Deprecated.Please useMockitoJUnit.rule()
. The reason of the deprecation is that we want to avoid concrete classes in the public api. -
MockitoJUnitRule
Deprecated.Please useMockitoJUnit.rule()
. The reason of the deprecation is that we want to avoid concrete classes in the public api.
-
-
Method Details
-
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:
apply
in interfaceorg.junit.rules.MethodRule
-