See: Description
Class | Description |
---|---|
MockitoPostProcessor | |
MockitoTestExecutionListener |
TestExecutionListener to trigger MockitoAnnotations.initMocks(Object)
when @MockBean annotations are used. |
ResetMocksTestExecutionListener |
TestExecutionListener to reset any mock beans that have been marked with a
MockReset . |
Enum | Description |
---|---|
MockReset |
Reset strategy used on a mock bean.
|
Annotation Type | Description |
---|---|
MockBean |
Annotation that can be used to add mocks to a Spring
ApplicationContext . |
MockBeans |
Container annotation that aggregates several
@MockBean annotations. |
SpyBean |
Annotation that can be used to apply Mockito spies to a Spring
ApplicationContext . |
SpyBeans |
Container annotation that aggregates several
@SpyBean annotations. |
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.