@Deprecated public class MockitoJUnitRule extends 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(Object targetTest)
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(Object targetTest)
MockitoJUnit.rule().
The reason of the deprecation is that we want to avoid concrete classes in the public api.public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runners.model.FrameworkMethod method,
Object target)
apply in interface org.junit.rules.MethodRuleMockito, MIT License