public class ResetMocksTestExecutionListener
extends org.springframework.test.context.support.AbstractTestExecutionListener
TestExecutionListener to reset any mock beans that have been marked with a
MockReset.| Constructor and Description |
|---|
ResetMocksTestExecutionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterTestMethod(org.springframework.test.context.TestContext testContext) |
void |
beforeTestMethod(org.springframework.test.context.TestContext testContext) |
int |
getOrder() |
public int getOrder()
getOrder in interface org.springframework.core.OrderedgetOrder in class org.springframework.test.context.support.AbstractTestExecutionListenerpublic void beforeTestMethod(org.springframework.test.context.TestContext testContext)
throws Exception
beforeTestMethod in interface org.springframework.test.context.TestExecutionListenerbeforeTestMethod in class org.springframework.test.context.support.AbstractTestExecutionListenerExceptionpublic void afterTestMethod(org.springframework.test.context.TestContext testContext)
throws Exception
afterTestMethod in interface org.springframework.test.context.TestExecutionListenerafterTestMethod in class org.springframework.test.context.support.AbstractTestExecutionListenerExceptionCopyright © 2019 Pivotal Software, Inc.. All rights reserved.