void (String ... fileNames) { String[] filePaths = new String[fileNames.length]; int i = 0; for (String fileName: fileNames) { filePaths[i] = getBasePath() + "/" + fileName; i++; } myFixture.configureByFiles(filePaths); }