void (String ext) { String baseName = getBaseName(""); myFixture.configureByFile(baseName + "." + ext); buildSurroundersForFileTypeWithGivenExtension().get(1).perform(); myFixture.checkResultByFile(baseName + "_after." + ext); }