VirtualFile (@Nullable String projectRoot, String @NotNull ... files) { if (files.length == 0) return null; final VirtualFile[] vFiles = new VirtualFile[files.length]; for (int i = 0; i < files.length; i++) { vFiles[i] = findVirtualFile(files[i]); if (vFiles[i] != null) { VfsTestUtil.assertFilePathEndsWithCaseSensitivePath(vFiles[i], files[i]); } } File projectFile = projectRoot == null ? null : new File(getTestDataPath() + projectRoot); try { return configureByFiles(projectFile, vFiles); } catch (IOException e) { throw new RuntimeException(e); } }