assertTrue(config.getDistributionFolder().isDirectory());
//test the name
assertEquals(config.getName(),"simple");
assertEquals(config.getDescription(), "Simple Configuration");
//test if the normaliser configuration was parsed correctly!
final ScoreNormaliser normaliser = config.getNormaliser();
//test if the config files where copied form the classpath to the
//config directory.
assertTrue("Config File for the RangeNormaliser not copied",
new File(config.getConfigFolder(),"range.properties").isFile());
assertTrue("Config File for the MinScoreNormalizer not copied",
new File(config.getConfigFolder(),"minscore.properties").isFile());
//now test if the configuration was parsed correctly
ScoreNormaliser testNormaliser = normaliser;
assertNotNull(testNormaliser);
assertEquals(testNormaliser.getClass(), RangeNormaliser.class);
testNormaliser = testNormaliser.getChained();
assertNotNull(testNormaliser);
assertEquals(testNormaliser.getClass(), NaturalLogNormaliser.class);
testNormaliser = testNormaliser.getChained();
assertNotNull(testNormaliser);
assertEquals(testNormaliser.getClass(), MinScoreNormalizer.class);
EntityIterator entityIterator = config.getEntityIdIterator();
assertNotNull(entityIterator);
assertEquals(entityIterator.getClass(), LineBasedEntityIterator.class);
if(entityIterator.needsInitialisation()){
entityIterator.initialise();