### Question:
DataGenerator { public static void main(String[] args) { if (!isValidNumberOfArguments(args)) { System.exit(-1); } loadConfiguration(args[0]); try { DragonsGraphGenerator dgg = new DragonsGraphGenerator(new DragonConfiguration(configuration)); List<String> dragonsIds = dgg.generateMassiveDragonsGraph(); HorsesGraphGenerator hgg = new HorsesGraphGenerator(new HorseConfiguration(configuration)); List<String> horsesIds = hgg.generateHorsesGraph(); PersonConfiguration personConf = new PersonConfiguration(configuration); PersonsGraphGenerator pgg = new PersonsGraphGenerator(personConf); List<String> personsIds = pgg.generatePersonsGraph(); pgg.attachDragonsToPerson(dragonsIds, personsIds, personConf.getMeanDragonsPerPerson(), personConf.getSdDragonsPerPerson()); pgg.attachHorsesToPerson(horsesIds, personsIds, personConf.getMeanHorsesPerPerson(), personConf.getSdHorsesPerPerson()); GuildsGraphGenerator ggg = new GuildsGraphGenerator(configuration); List<String> guildsIds = ggg.generateGuildsGraph(); ggg.attachPersonsToGuilds(guildsIds, personsIds); KingdomsGraphGenerator kgg = new KingdomsGraphGenerator(new KingdomConfiguration(configuration)); List<String> kingdomsIds = kgg.generateKingdomsGraph(); kgg.attachDragonToKingdom(kingdomsIds, dragonsIds); kgg.attachHorseToKingdom(kingdomsIds, horsesIds); kgg.attachGuildToKingdom(kingdomsIds, guildsIds); kgg.attachPersonToKingdom(kingdomsIds, personsIds); } catch (Exception e) { logger.error(e.getMessage(), e); } }  static void main(String[] args); static void loadConfiguration(String path);  }### Answer:
@Test public void dataGenerationTest() throws Exception { DataGenerator.main(new String [] {CONFIGURATION_FILE_PATH}); }