void (char toType) { final String path = "/nameCompletion/java"; myFixture.configureByFile(path + "/" + getTestName(false) + "-source.java"); performAction(toType); checkResultByFile(path + "/" + getTestName(false) + "-result.java"); }