@Test
public void extensionURL() throws MalformedURLException {

	assertEquals(".z", FileSystem.extension(createHttpUrl()));  //$NON-NLS-1$
	assertEquals(".z", FileSystem.extension(createFileInJarUrl()));  //$NON-NLS-1$
	assertEquals(".toto", FileSystem.extension(createFileUrlWithSpacesHardCoded()));  //$NON-NLS-1$
	assertEquals(".z", FileSystem.extension(createFileInJarUrlWithSpaces()));  //$NON-NLS-1$
	assertEquals(".c", FileSystem.extension(new URL("file:///a.b.c/")));   //$NON-NLS-1$ //$NON-NLS-2$
	assertEquals("", FileSystem.extension(new URL("file://")));   //$NON-NLS-1$ //$NON-NLS-2$
}