@Test
public void testGetParent() {

	assertEquals("/", PathUtil.parentPath("xyz.txt"));
	assertEquals("/", PathUtil.parentPath("/xyz.txt"));
	assertEquals("/abc/fff", PathUtil.parentPath("/abc/fff/xyz.txt"));
	assertEquals("/", PathUtil.parentPath("xyz.txt/"));
	assertEquals("/", PathUtil.parentPath("/xyz.txt/"));
	assertEquals("/abc/fff", PathUtil.parentPath("/abc/fff/xyz.txt/"));
	assertNull(PathUtil.parentPath("/"));
	assertEquals("/abc/fff",
			PathUtil.parentPath("///abc////fff///xyz.txt///"));
}