Package | Description |
---|---|
org.springframework.boot.test.context.assertj |
AssertJ support for ApplicationContexts.
|
Modifier and Type | Method and Description |
---|---|
ApplicationContextAssert<C> |
ApplicationContextAssertProvider.assertThat()
Deprecated.
to prevent accidental use. Prefer standard AssertJ
assertThat(context)... calls instead. |
ApplicationContextAssert<C> |
ApplicationContextAssert.doesNotHaveBean(Class<?> type)
Verifies that the application context (or ancestors) does not contain any beans of
the given type.
|
ApplicationContextAssert<C> |
ApplicationContextAssert.doesNotHaveBean(Class<?> type,
ApplicationContextAssert.Scope scope)
Verifies that the application context does not contain any beans of the given type.
|
ApplicationContextAssert<C> |
ApplicationContextAssert.doesNotHaveBean(String name)
Verifies that the application context does not contain a beans of the given name.
|
ApplicationContextAssert<C> |
ApplicationContextAssert.hasBean(String name)
Verifies that the application context contains a bean with the given name.
|
ApplicationContextAssert<C> |
ApplicationContextAssert.hasFailed()
Verifies that the application has failed to start.
|
ApplicationContextAssert<C> |
ApplicationContextAssert.hasNotFailed()
Verifies that the application has not failed to start.
|
ApplicationContextAssert<C> |
ApplicationContextAssert.hasSingleBean(Class<?> type)
Verifies that the application context (or ancestors) contains a single bean with
the given type.
|
ApplicationContextAssert<C> |
ApplicationContextAssert.hasSingleBean(Class<?> type,
ApplicationContextAssert.Scope scope)
Verifies that the application context contains a single bean with the given type.
|
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.