@Test
public void basenameURL() throws MalformedURLException {

	assertEquals("file.x.z", FileSystem.basename(createHttpUrl()));  //$NON-NLS-1$
	assertEquals("file.x.z", FileSystem.basename(createFileInJarUrl()));  //$NON-NLS-1$
	assertEquals("file with space", FileSystem.basename(createFileUrlWithSpacesHardCoded()));  //$NON-NLS-1$
	assertEquals("file.x.z", FileSystem.basename(createFileInJarUrlWithSpaces()));  //$NON-NLS-1$
	assertEquals("a.b", FileSystem.basename(new URL("file:///a.b.c/")));   //$NON-NLS-1$ //$NON-NLS-2$
	assertEquals("", FileSystem.basename(new URL("file://")));   //$NON-NLS-1$ //$NON-NLS-2$
	URL url = new URL("file", "", "D:\\vivus_test\\export dae\\yup\\terrain_physx.dae");    //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
	try {
		assertEquals("terrain_physx", FileSystem.basename(url));  //$NON-NLS-1$
		fail("expecting assertion failure");  //$NON-NLS-1$
	}
	catch(AssertionError exception) {
		//
	}
}