final FileObject baseFolder = config.getBaseTestFolder(manager);
// Create an empty file system, then link in the base folder
final FileSystem newFs = manager.createVirtualFileSystem("vfs:").getFileSystem();
final String junctionPoint = "/some/dir";
newFs.addJunction(junctionPoint, baseFolder);
return newFs.resolveFile(junctionPoint);
}
}