// The only not-so-ideal part of this approach to testing
// IntegrationService is that we have to start the
// context for the rendering of the original stub component to continue.
// IntegrationService sets up and tears down its context.
contextService.startContext(ctx.getMode(), ctx.getFormat(), ctx.getAccess(),
ctx.getApplicationDescriptor());
}
protected void injectComponent(String tag, Map<String, Object> attributes, String localId, String locatorDomId,
Appendable out, boolean useAsync) throws AuraRuntimeException, QuickFixException, IOException {