Class ResetMockitoRunListener
- java.lang.Object
-
- org.junit.runner.notification.RunListener
-
- de.hybris.platform.testframework.runlistener.ResetMockitoRunListener
-
public class ResetMockitoRunListener extends org.junit.runner.notification.RunListenerKills ongoing Mockito stubbing and frees recorded invocations before and after each test class.
-
-
Constructor Summary
Constructors Constructor Description ResetMockitoRunListener()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidresetMockito()voidtestRunFinished(org.junit.runner.Result result)voidtestRunStarted(org.junit.runner.Description description)
-
-
-
Method Detail
-
testRunStarted
public void testRunStarted(org.junit.runner.Description description) throws java.lang.Exception- Overrides:
testRunStartedin classorg.junit.runner.notification.RunListener- Throws:
java.lang.Exception
-
testRunFinished
public void testRunFinished(org.junit.runner.Result result) throws java.lang.Exception- Overrides:
testRunFinishedin classorg.junit.runner.notification.RunListener- Throws:
java.lang.Exception
-
resetMockito
public static void resetMockito()
-
-