public class UnnecessaryStubbingsReporter extends Object implements MockCreationListener
Constructor and Description |
---|
UnnecessaryStubbingsReporter() |
Modifier and Type | Method and Description |
---|---|
void |
onMockCreated(Object mock,
MockCreationSettings settings)
Mock object was just created.
|
void |
validateUnusedStubs(Class<?> testClass,
org.junit.runner.notification.RunNotifier notifier) |
public void validateUnusedStubs(Class<?> testClass, org.junit.runner.notification.RunNotifier notifier)
public void onMockCreated(Object mock, MockCreationSettings settings)
MockCreationListener
onMockCreated
in interface MockCreationListener
mock
- created mock objectsettings
- the settings used for creationCopyright © 2020. All rights reserved.