void () { boolean old = CodeInsightSettings.getInstance().AUTOCOMPLETE_ON_CODE_COMPLETION; CodeInsightSettings.getInstance().AUTOCOMPLETE_ON_CODE_COMPLETION = false; try { final String testName = getTestName(false); configureByFiles(testName + ".xml", testName + ".xsd"); complete(); selectItem(myFixture.getLookupElements()[0], '\"'); checkResultByFile(testName + "_after.xml"); } finally { CodeInsightSettings.getInstance().AUTOCOMPLETE_ON_CODE_COMPLETION = old; } }