Enum クラスの使用箇所
org.springframework.boot.test.context.assertj.ApplicationContextAssert.Scope
org.springframework.boot.test.context.assertj 内の ApplicationContextAssert.Scope 使用
修飾子と型メソッド説明指定された名前でこのクラスの列挙型定数を返します。static ApplicationContextAssert.Scope[]
ApplicationContextAssert.Scope.values()
この列挙型クラスの定数を含む配列を、宣言されている順序で返します。修飾子と型メソッド説明ApplicationContextAssert.doesNotHaveBean
(ClassSE<?> type, ApplicationContextAssert.Scope scope) アプリケーションコンテキストに、指定された型の Bean が含まれていないことを確認します。<T> org.assertj.core.api.AbstractObjectAssert<?,
T> ApplicationContextAssert.getBean
(ClassSE<T> type, ApplicationContextAssert.Scope scope) アプリケーションコンテキストから指定された型の単一の Bean を取得します。Bean はテスト中のオブジェクトになります。<T> org.assertj.core.api.MapAssert<StringSE,
T> ApplicationContextAssert.getBeans
(ClassSE<T> type, ApplicationContextAssert.Scope scope) マップ Bean の名前と特定の型のインスタンスをアプリケーションコンテキストから取得します。マップはテスト対象のオブジェクトになります。ApplicationContextAssert.hasSingleBean
(ClassSE<?> type, ApplicationContextAssert.Scope scope) アプリケーションコンテキストに、指定された型の単一の Bean が含まれていることを確認します。