@Test
public void testGetCurrentDirectoryFile() throws Exception {

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