void () { EmmetOptions.getInstance().setEmmetExpandShortcut(TemplateSettings.CUSTOM_CHAR); myFixture.configureByText(HtmlFileType.INSTANCE, "div.class*2<caret>"); myFixture.performEditorAction(IdeActions.ACTION_EXPAND_LIVE_TEMPLATE_CUSTOM); NonBlockingReadActionImpl.waitForAsyncTaskCompletion(); UIUtil.dispatchAllInvocationEvents(); myFixture.checkResult("<div class=\"class\"></div>\n" + "<div class=\"class\"></div>"); }