void () { myFixture.configureByFile(getTestName(false) + ".html"); myFixture.doHighlighting(); ShowIntentionsPass.IntentionsInfo intentions = ShowIntentionsPass.getActionsToShow(myFixture.getEditor(), myFixture.getFile()); assertFalse(intentions.isEmpty()); CachedIntentions actions = CachedIntentions.createAndUpdateActions(getProject(), myFixture.getFile(), myFixture.getEditor(), intentions); assertNotEmpty(actions.getAllActions()); IntentionAction firstAction = actions.getAllActions().get(0).getAction(); assertEquals(new SwitchToHtml5WithHighPriorityAction().getText(), firstAction.getText()); }