@Test
public void testGetName() {

	Path p = new Path("/my/fancy/path");
	assertEquals("path", p.getName());
	p = new Path("/my/fancy/path/");
	assertEquals("path", p.getName());
	p = new Path("hdfs:///my/path");
	assertEquals("path", p.getName());
	p = new Path("hdfs:///myPath/");
	assertEquals("myPath", p.getName());
	p = new Path("/");
	assertEquals("", p.getName());
	p = new Path("C:/my/windows/path");
	assertEquals("path", p.getName());
	p = new Path("file:/C:/my/windows/path");
	assertEquals("path", p.getName());
}