void (boolean isSurrounding, @NotNull String extension, Class<? extends PythonTemplateContextType> @NotNull ... expectedContextTypes) { myFixture.configureByFile(getTestName(true) + "." + extension); final List<Class<? extends PythonTemplateContextType>> actualContextTypes = calculateEnabledContextTypes(isSurrounding, getRegisteredContextTypes()); assertSameElements(actualContextTypes, expectedContextTypes); }