get
open fun <T : ApplicationContextAssertProvider<C>?, C : ApplicationContext?> get(type: Class<T>, contextType: Class<out C>, contextSupplier: Supplier<out C>): T
Factory method to create a new ApplicationContextAssertProvider instance.
Return
a ApplicationContextAssertProvider instance
Parameters
<T>
the assert provider type
<C>
the context type
type
the type of ApplicationContextAssertProvider required (must bean interface)
contextType
the type of ApplicationContext being managed (must be aninterface)
contextSupplier
a supplier that will either return a fully configured ApplicationContext or throw an exception if the context fails to start.