@Test
public void convertURLToFile() throws Exception {

	try {
		FileSystem.convertURLToFile(new URL("http://www.arakhne.org"));  //$NON-NLS-1$
		fail("not a file URL");  //$NON-NLS-1$
	}
	catch(IllegalArgumentException exception) {
		//
	}
	assertEquals(new File("toto").getCanonicalPath(),  //$NON-NLS-1$
			FileSystem.convertURLToFile(new URL("file:./toto")).getCanonicalPath());  //$NON-NLS-1$
	assertEquals(new File("toto").getCanonicalPath(),  //$NON-NLS-1$
			FileSystem.convertURLToFile(new URL("file:toto")).getCanonicalPath());  //$NON-NLS-1$
	assertEquals(new File("toto").getCanonicalPath(),  //$NON-NLS-1$
			FileSystem.convertURLToFile(new URL("file:./abs/../toto")).getCanonicalPath());  //$NON-NLS-1$
	assertEquals(new File("/toto").getCanonicalPath(),  //$NON-NLS-1$
			FileSystem.convertURLToFile(new URL("file:/toto")).getCanonicalPath());  //$NON-NLS-1$
}