@Test
  public void testGetParent() throws Exception {
    assertEquals("/path/to/some", fragment.getParent(somePath).getPath());

    // Self
    assertEquals(fragment.getRoot().getPath(), fragment.getParent(new File("/path")).getPath());
    assertEquals(fragment.getRoot().getPath(), fragment.getParent(new File("/")).getPath());
  }
 @Test
 public void testGetRoot() throws Exception {
   assertEquals("/", fragment.getRoot().getPath());
 }