@Test
 public void testAddTwice() throws Exception {
   File shape = super.getAnySpatialResource();
   FileDriver d = new ShapefileDriver();
   FileDriverRegister fdr = new FileDriverRegister();
   fdr.addFile(shape, d);
   assertTrue(fdr.contains(shape));
   assertTrue(fdr.getDriver(shape) == d);
   FileDriver d2 = new ShapefileDriver();
   fdr.addFile(shape, d2);
   assertTrue(fdr.contains(shape));
   assertTrue(fdr.getDriver(shape) == d2);
   assertFalse(fdr.getDriver(shape) == d);
 }