VirtualFile (@NonNls @NotNull String filePath) { String fullPath = getTestDataPath() + filePath; VirtualFile vFile = LocalFileSystem.getInstance().findFileByPath(fullPath.replace(File.separatorChar, '/')); assertNotNull("file " + fullPath + " not found", vFile); return vFile; }