@Test(expected = IOException.class)
public void fileExistsOther() throws IOException {

    final Configuration conf = new Configuration(false);
    conf.setClass("fs.mock.impl", MockFileSystem.class, FileSystem.class);
    FileSystemUtil.fileExists(URI.create("mock:/tmp/" + UUID.randomUUID().toString()), conf);
}