@Test
public void testGetMountPoint() throws IOException {

  // Check get the mount table entry for a path
  MountTable mtEntry;
  mtEntry = mountTable.getMountPoint("/");
  assertEquals("/", mtEntry.getSourcePath());
  mtEntry = mountTable.getMountPoint("/user");
  assertEquals("/user", mtEntry.getSourcePath());
  mtEntry = mountTable.getMountPoint("/user/a");
  assertEquals("/user/a", mtEntry.getSourcePath());
  mtEntry = mountTable.getMountPoint("/user/a/");
  assertEquals("/user/a", mtEntry.getSourcePath());
  mtEntry = mountTable.getMountPoint("/user/a/11");
  assertEquals("/user/a", mtEntry.getSourcePath());
  mtEntry = mountTable.getMountPoint("/user/a1");
  assertEquals("/user", mtEntry.getSourcePath());
}