protected void injectComponent(String tag, Map<String, Object> attributes, String localId, String locatorDomId,
Appendable out, boolean useAsync, String applicationTag) throws AuraRuntimeException, QuickFixException, IOException {
ContextService contextService = Aura.getContextService();
AuraContext ctx = contextService.getCurrentContext();
contextService.endContext();
Integration integration = Aura.getIntegrationService().createIntegration(
"", Mode.DEV, true, null, applicationTag, null);
integration.injectComponent(tag, attributes, localId, locatorDomId, out, useAsync);