void (String sourceData, String emmetExpression, String expectedData) { configureFromFileText("test." + getExtension(), sourceData); EmmetAbbreviationBalloon.setTestingAbbreviation(emmetExpression, getTestRootDisposable()); executeAction(IdeActions.ACTION_UPDATE_TAG_WITH_EMMET); NonBlockingReadActionImpl.waitForAsyncTaskCompletion(); UIUtil.dispatchAllInvocationEvents(); checkResultByText(expectedData); }