Polish Mockito 2.0 support
This commit is contained in:
@@ -91,7 +91,7 @@ class MockitoAopProxyTargetInterceptor implements MethodInterceptor {
|
||||
|
||||
private final MockingProgress progress;
|
||||
|
||||
public Verification(Object target) {
|
||||
Verification(Object target) {
|
||||
this.progress = MockitoApi.get().mockingProgress(target);
|
||||
}
|
||||
|
||||
|
||||
@@ -164,9 +164,9 @@ abstract class MockitoApi {
|
||||
|
||||
private final Method getMatcherMethod;
|
||||
|
||||
private Constructor<MockAwareVerificationMode> mockAwareVerificationModeConstructor;
|
||||
private final Constructor<MockAwareVerificationMode> mockAwareVerificationModeConstructor;
|
||||
|
||||
public Mockito2Api() {
|
||||
Mockito2Api() {
|
||||
this.getMockSettingsMethod = ReflectionUtils.findMethod(MockUtil.class,
|
||||
"getMockSettings", Object.class);
|
||||
this.mockingProgressMethod = ReflectionUtils
|
||||
|
||||
Reference in New Issue
Block a user