Package | Description |
---|---|
org.springframework.boot.test.context |
Classes and annotations related to configuring Spring's
ApplicationContext for
tests. |
Modifier and Type | Method and Description |
---|---|
ApplicationContextAssert<C> |
ApplicationContextAssert.doesNotHaveBean(Class<?> type)
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 contains a single bean with the given type.
|
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.