get
open fun get(contextSupplier: Supplier<out ConfigurableApplicationContext>): AssertableApplicationContext
Factory method to create a new AssertableApplicationContext instance.
Return
an AssertableApplicationContext instance
Parameters
contextSupplier
a supplier that will either return a fully configured ConfigurableApplicationContext or throw an exception if the context failsto start.