public String getName() {
    String path = mUri.getPath();
    int slash = path.lastIndexOf(SEPARATOR);
    return path.substring(slash + 1);
  }
@Test
  public void getNameTests() {
    assertEquals(".", new AlluxioURI(".").getName());
    assertEquals("", new AlluxioURI("/").getName());
    assertEquals("", new AlluxioURI("alluxio://localhost/").getName());
    assertEquals("", new AlluxioURI("alluxio:/").getName());
    assertEquals("a", new AlluxioURI("alluxio:/a/").getName());
    assertEquals("a.txt", new AlluxioURI("alluxio:/a.txt/").getName());
    assertEquals(" b.txt", new AlluxioURI("alluxio:/a/ b.txt").getName());
    assertEquals("a.txt", new AlluxioURI("/a/a.txt").getName());
  }