public class MockitoTestExecutionListener
extends org.springframework.test.context.support.AbstractTestExecutionListener
TestExecutionListener to trigger MockitoAnnotations.initMocks(Object)
when @MockBean annotations are used. Primarily to allow Captor
annotations.| Constructor and Description |
|---|
MockitoTestExecutionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
prepareTestInstance(org.springframework.test.context.TestContext testContext) |
getOrderCopyright © 2017 Pivotal Software, Inc.. All rights reserved.