@Test
public void test01() throws ResourceInstantiationException, MalformedURLException {
// create an instance of the ExtendedGazetteer
FeatureMap fm = Factory.newFeatureMap();
File defFile = new File(testingDir,"extgaz1.def");
URL defURL = defFile.toURI().toURL();
fm.put("listsURL", defURL);
ExtendedGazetteer gaz = (ExtendedGazetteer)Factory.createResource(
"at.ofai.gate.extendedgazetteer.ExtendedGazetteer", fm);
String origclass = gaz.getClass().getName();
ExtendedGazetteer dup = (ExtendedGazetteer)Factory.duplicate(gaz);
assertEquals(origclass, dup.getClass().getName());