String (String expectedData) { int index; while ((index = expectedData.indexOf('|')) > -1) { expectedData = expectedData.substring(0, index) + expectedData.substring(index + 1); expectedTabStops.add(index); } myFixture.configureByText("expected." + extension, expectedData); end(); expandAndReformat(false); return myFixture.getFile().getText(); }