void (@NotNull ActionHint actionHint, @NotNull String testFullPath, @NotNull String testName) { final Language language = getInjectedLanguage(); final Language expectedLang = Language.findLanguageByID(actionHint.getExpectedText()); assertThat(language) .withFailMessage(String.format("Language '%s' should be injected, but found '%s'", actionHint.getExpectedText(), language.getID())) .isEqualTo(expectedLang); }