Package | Description |
---|---|
org.springframework.boot.test.context.assertj |
AssertJ support for ApplicationContexts.
|
org.springframework.boot.test.context.runner |
Test utilities to run application contexts for testing.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AssertableApplicationContext
An
ApplicationContext that additionally supports AssertJ style assertions. |
interface |
AssertableReactiveWebApplicationContext
A
ReactiveWebApplicationContext that additionally supports AssertJ style
assertions. |
interface |
AssertableWebApplicationContext
A
WebApplicationContext that additionally supports AssertJ style assertions. |
Modifier and Type | Method and Description |
---|---|
static <T extends ApplicationContextAssertProvider<C>,C extends ApplicationContext> |
ApplicationContextAssertProvider.get(Class<T> type,
Class<? extends C> contextType,
Supplier<? extends C> contextSupplier)
Factory method to create a new
ApplicationContextAssertProvider instance. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractApplicationContextRunner<SELF extends AbstractApplicationContextRunner<SELF,C,A>,C extends ConfigurableApplicationContext,A extends ApplicationContextAssertProvider<C>>
Utility design to run an
ApplicationContext and provide AssertJ style
assertions. |
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.