C - the application context type@FunctionalInterface
public interface ContextConsumer<C extends org.springframework.context.ApplicationContext>
ApplicationContext with the ability to
throw a (checked) exception.AbstractApplicationContextRunner| Modifier and Type | Method and Description |
|---|---|
void |
accept(C context)
Performs this operation on the supplied
context. |
void accept(C context) throws java.lang.Throwable
context.context - the application context to consumejava.lang.Throwable - any exception that might occur in assertions