public class ResetMocksTestExecutionListener extends AbstractTestExecutionListener
TestExecutionListener to reset any mock beans that have been marked with a
MockReset.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
ResetMocksTestExecutionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterTestMethod(TestContext testContext) |
void |
beforeTestMethod(TestContext testContext) |
int |
getOrder() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterTestClass, afterTestExecution, beforeTestClass, beforeTestExecution, prepareTestInstancepublic int getOrder()
getOrder in interface OrderedgetOrder in class AbstractTestExecutionListenerpublic void beforeTestMethod(TestContext testContext) throws Exception
Exceptionpublic void afterTestMethod(TestContext testContext) throws Exception
ExceptionCopyright © 2018 Pivotal Software, Inc.. All rights reserved.