public class UnnecessaryStubbingsReporter extends java.lang.Object implements MockCreationListener
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<java.lang.Object> |
mocks |
| Constructor and Description |
|---|
UnnecessaryStubbingsReporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onMockCreated(java.lang.Object mock,
MockCreationSettings settings)
Mock object was just created.
|
void |
validateUnusedStubs(java.lang.Class<?> testClass,
org.junit.runner.notification.RunNotifier notifier) |
public void validateUnusedStubs(java.lang.Class<?> testClass,
org.junit.runner.notification.RunNotifier notifier)
public void onMockCreated(java.lang.Object mock,
MockCreationSettings settings)
MockCreationListeneronMockCreated in interface MockCreationListenermock - created mock objectsettings - the settings used for creation