void () { myFixture.addClass("package foo; public class SomeClass {}"); final String testName = getTestName(false); myFixture.configureByFile(testName + ".xml"); myFixture.complete(CompletionType.BASIC, 2); selectItem(assertOneElement(myFixture.getLookupElements()), Lookup.NORMAL_SELECT_CHAR); checkResultByFile(testName + "_after.xml"); }