接口的使用
org.springframework.boot.test.context.assertj.AssertableWebApplicationContext
-
org.springframework.boot.test.context.assertj中AssertableWebApplicationContext的使用
修饰符和类型方法说明AssertableWebApplicationContext.get
(Supplier<? extends ConfigurableWebApplicationContext> contextSupplier) Factory method to create a newAssertableWebApplicationContext
instance.AssertableWebApplicationContext.get
(Supplier<? extends ConfigurableWebApplicationContext> contextSupplier, Class<?>... additionalContextInterfaces) Factory method to create a newAssertableWebApplicationContext
instance.