@Test
public void testLastPathEntry() throws Throwable {

  assertEquals("",lastPathEntry("/"));
  assertEquals("",lastPathEntry("//"));
  assertEquals("c",lastPathEntry("/a/b/c"));
  assertEquals("c",lastPathEntry("/a/b/c/"));
}