@Deprecated public class MockitoJUnitRule extends java.lang.Object implements org.junit.rules.MethodRule, MockitoRule
MockitoJUnit.rule()
instead of direct use.
The reason of the deprecation is that we want to avoid concrete classes in the public api.MockitoJUnit
Constructor and Description |
---|
MockitoJUnitRule()
Deprecated.
|
MockitoJUnitRule(java.lang.Object targetTest)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runners.model.FrameworkMethod method,
java.lang.Object target)
Deprecated.
|
@Deprecated public MockitoJUnitRule()
MockitoJUnit.rule()
.
The reason of the deprecation is that we want to avoid concrete classes in the public api.@Deprecated public MockitoJUnitRule(java.lang.Object targetTest)
MockitoJUnit.rule()
.
The reason of the deprecation is that we want to avoid concrete classes in the public api.