VirtualFile (final String path) { final File file = new File(PathManagerEx.getTestDataPath(), "facet/findByFile/" + path); final VirtualFile virtualFile = LocalFileSystem.getInstance().findFileByIoFile(file); assertNotNull(virtualFile); return virtualFile; }