@Test
public void extensionsURL() throws MalformedURLException {

	assertArrayEquals(new String[] {"x", "z", "z"}, FileSystem.extensions(createHttpUrl()));  //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
	assertArrayEquals(new String[] {"x", "z", "z"}, FileSystem.extensions(createFileInJarUrl()));  //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
	assertArrayEquals(new String[] {"toto"}, FileSystem.extensions(createFileUrlWithSpacesHardCoded()));  //$NON-NLS-1$
	assertArrayEquals(new String[] {"x", "z", "z"}, FileSystem.extensions(createFileInJarUrlWithSpaces()));  //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
	assertArrayEquals(new String[] {"b", "c"}, FileSystem.extensions(new URL("file:///a.b.c/")));   //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
	assertArrayEquals(new String[0], FileSystem.extensions(new URL("file://")));   //$NON-NLS-1$
}