インターフェースの使用
org.springframework.boot.test.context.assertj.AssertableApplicationContext
AssertableApplicationContext を使用するパッケージ
パッケージ
説明
ApplicationContexts の AssertJ サポート。
テスト用のアプリケーションコンテキストを実行するテストユーティリティ。
org.springframework.boot.test.context.assertj 内の AssertableApplicationContext 使用
修飾子と型メソッド説明static AssertableApplicationContextAssertableApplicationContext.get(SupplierSE<? extends ConfigurableApplicationContext> contextSupplier) 新しいAssertableApplicationContextインスタンスを作成するファクトリメソッド。static AssertableApplicationContextAssertableApplicationContext.get(SupplierSE<? extends ConfigurableApplicationContext> contextSupplier, ClassSE<?>... additionalContextInterfaces) 新しいAssertableApplicationContextインスタンスを作成するファクトリメソッド。org.springframework.boot.test.context.runner 内の AssertableApplicationContext 使用