get

Factory method to create a new AssertableWebApplicationContext instance.

Return

a AssertableWebApplicationContext instance

Parameters

contextSupplier

a supplier that will either return a fully configured ConfigurableWebApplicationContext or throw an exception if the contextfails to start.