クラスの使用
org.springframework.boot.test.context.assertj.ApplicationContextAssert
org.springframework.boot.test.context.assertj 内の ApplicationContextAssert 使用
修飾子と型メソッド説明ApplicationContextAssertProvider.assertThat()
使用すべきではありません。誤って使用しないようにします。ApplicationContextAssert.doesNotHaveBean
(ClassSE<?> type) アプリケーションコンテキスト(または祖先)に指定された型の Bean が含まれていないことを確認します。ApplicationContextAssert.doesNotHaveBean
(ClassSE<?> type, ApplicationContextAssert.Scope scope) アプリケーションコンテキストに、指定された型の Bean が含まれていないことを確認します。ApplicationContextAssert.doesNotHaveBean
(StringSE name) 指定された名前の Bean がアプリケーションコンテキストに含まれていないことを確認します。指定された名前の Bean がアプリケーションコンテキストに含まれていることを確認します。ApplicationContextAssert.hasFailed()
アプリケーションが起動に失敗したことを確認します。ApplicationContextAssert.hasNotFailed()
アプリケーションが起動に失敗していないことを確認します。ApplicationContextAssert.hasSingleBean
(ClassSE<?> type) アプリケーションコンテキスト(または祖先)に、指定された型の単一の Bean が含まれていることを確認します。ApplicationContextAssert.hasSingleBean
(ClassSE<?> type, ApplicationContextAssert.Scope scope) アプリケーションコンテキストに、指定された型の単一の Bean が含まれていることを確認します。