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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonStaticMockCreatedpublic void validateUnusedStubs(Class<?> testClass, org.junit.runner.notification.RunNotifier notifier)
public void onMockCreated(Object mock, MockCreationSettings settings)
MockCreationListeneronMockCreated in interface MockCreationListenermock - created mock objectsettings - the settings used for creationCopyright © 2025. All rights reserved.