Skip navigation links
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Classes
  • Enum Classes
  • Annotation Interfaces
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    org.springframework.boot.test.context.runner.AbstractApplicationContextRunner(Supplier<C>, Function<AbstractApplicationContextRunner.RunnerConfiguration<C>, SELF>)
    since 3.4.0 for removal in 3.6.0 in favor of AbstractApplicationContextRunner(Function, Supplier, Class...)
    org.springframework.boot.test.mock.mockito.MockBean
    since 3.4.0 for removal in 3.6.0 in favor of MockitoBean
    org.springframework.boot.test.mock.mockito.MockBeans
    since 3.4.0 for removal in 3.6.0 in favor of MockitoBean
    org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener
    since 3.4.0 for removal in 3.6.0 in favor of Spring Framework's support for MockitoBean and MockitoSpyBean.
    org.springframework.boot.test.mock.mockito.MockReset
    since 3.4.0 for removal in 3.6.0 in favor of MockReset
    org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener
    since 3.4.0 for removal in 3.6.0 in favor of MockitoResetTestExecutionListener
    org.springframework.boot.test.mock.mockito.SpringBootMockResolver
    since 3.4.0 for removal in 3.6.0 in favor of Spring Framework's MockitoBean and MockitoSpyBean
    org.springframework.boot.test.mock.mockito.SpyBean
    since 3.4.0 for removal in 3.6.0 in favor of MockitoSpyBean
    org.springframework.boot.test.mock.mockito.SpyBeans
    since 3.4.0 for removal in 3.6.0 in favor of MockitoSpyBean
    org.springframework.boot.test.web.client.TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory(TestRestTemplate.HttpClientOption[], ClientHttpRequestFactorySettings)
    since 3.4.0 for removal in 3.6.0 in favor of CustomHttpComponentsClientHttpRequestFactory(HttpClientOption[], ClientHttpRequestFactorySettings)
  • Deprecated Classes
    Class
    Description
    org.springframework.boot.test.mock.mockito.MockitoPostProcessor
    since 3.4.0 for removal in 3.6.0 in favor of Spring Framework's MockitoBean and MockitoSpyBean support
    org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener
    since 3.4.0 for removal in 3.6.0 in favor of Spring Framework's support for MockitoBean and MockitoSpyBean.
    org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener
    since 3.4.0 for removal in 3.6.0 in favor of MockitoResetTestExecutionListener
    org.springframework.boot.test.mock.mockito.SpringBootMockResolver
    since 3.4.0 for removal in 3.6.0 in favor of Spring Framework's MockitoBean and MockitoSpyBean
  • Deprecated Enum Classes
    Enum Class
    Description
    org.springframework.boot.test.mock.mockito.MockReset
    since 3.4.0 for removal in 3.6.0 in favor of MockReset
  • Deprecated Annotation Interfaces
    Annotation Interface
    Description
    org.springframework.boot.test.mock.mockito.MockBean
    since 3.4.0 for removal in 3.6.0 in favor of MockitoBean
    org.springframework.boot.test.mock.mockito.MockBeans
    since 3.4.0 for removal in 3.6.0 in favor of MockitoBean
    org.springframework.boot.test.mock.mockito.SpyBean
    since 3.4.0 for removal in 3.6.0 in favor of MockitoSpyBean
    org.springframework.boot.test.mock.mockito.SpyBeans
    since 3.4.0 for removal in 3.6.0 in favor of MockitoSpyBean
  • Deprecated Methods
    Method
    Description
    org.springframework.boot.test.context.assertj.ApplicationContextAssertProvider.assertThat()
    to prevent accidental use. Prefer standard AssertJ assertThat(context)... calls instead.
    org.springframework.boot.test.json.JsonContent.assertThat()
    to prevent accidental use. Prefer standard AssertJ assertThat(context)... calls instead.
  • Deprecated Constructors
    Constructor
    Description
    org.springframework.boot.test.context.runner.AbstractApplicationContextRunner(Supplier<C>, Function<AbstractApplicationContextRunner.RunnerConfiguration<C>, SELF>)
    since 3.4.0 for removal in 3.6.0 in favor of AbstractApplicationContextRunner(Function, Supplier, Class...)
    org.springframework.boot.test.web.client.TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory(TestRestTemplate.HttpClientOption[], ClientHttpRequestFactorySettings)
    since 3.4.0 for removal in 3.6.0 in favor of CustomHttpComponentsClientHttpRequestFactory(HttpClientOption[], ClientHttpRequestFactorySettings)