@Test
public void testGetCurrentDirectoryURL() throws Exception {

	assertEquals(this.userHome.toURI().toURL(), this.builder.getCurrentDirectoryURL());
	this.builder.setCurrentDirectory("file:./toto"); //$NON-NLS-1$
	assertEquals(new URL("file:./toto"), this.builder.getCurrentDirectoryURL()); //$NON-NLS-1$
	
	this.builder.setCurrentDirectory("http://www.multiagent.fr/toto"); //$NON-NLS-1$
	assertEquals(new URL("http://www.multiagent.fr/toto"), this.builder.getCurrentDirectoryURL()); //$NON-NLS-1$
	this.builder.setCurrentDirectory("https://set.utbm.fr/toto"); //$NON-NLS-1$
	assertEquals(new URL("https://set.utbm.fr/toto"), this.builder.getCurrentDirectoryURL()); //$NON-NLS-1$
	this.builder.setCurrentDirectory("ftp://set.utbm.fr/toto"); //$NON-NLS-1$
	assertEquals(new URL("ftp://set.utbm.fr/toto"), this.builder.getCurrentDirectoryURL()); //$NON-NLS-1$
	this.builder.setCurrentDirectory("jar:file:test.jar!/toto"); //$NON-NLS-1$
	assertEquals(new URL("jar:file:test.jar!/toto"), this.builder.getCurrentDirectoryURL()); //$NON-NLS-1$
	this.builder.setCurrentDirectory("./toto"); //$NON-NLS-1$
	assertEquals(new File("./toto").toURI().toURL(), this.builder.getCurrentDirectoryURL()); //$NON-NLS-1$
}