Package org.springframework.boot.test.mock.mockito
package org.springframework.boot.test.mock.mockito
Mockito integration for Spring Boot tests.
-
ClassDescriptionAnnotation that can be used to add mocks to a Spring
ApplicationContext
.Container annotation that aggregates several@MockBean
annotations.Reset strategy used on a mock bean.TestExecutionListener
to reset any mock beans that have been marked with aMockReset
.AMockResolver
for testing Spring Boot applications with Mockito.Annotation that can be used to apply Mockito spies to a SpringApplicationContext
.Container annotation that aggregates several@SpyBean
annotations.