@Test
public void testDefaultURIWithoutScheme() throws Exception {

  final Configuration conf = new Configuration();
  conf.set(FileSystem.FS_DEFAULT_NAME_KEY, "/");
  try {
    FileContext.getFileContext(conf);
    fail(UnsupportedFileSystemException.class + " not thrown!");
  } catch (UnsupportedFileSystemException ufse) {
    LOG.info("Expected exception: ", ufse);
  }
}