@Test
public void testFix() {

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