@@ -0,0 +1,1504 @@
+package allow.simulator.test;%0A%0Aimport java.io.FileNotFoundException;%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Aimport javax.naming.ConfigurationException;%0Aimport javax.swing.UIManager;%0A%0Aimport allow.simulator.ensemble.Ensemble;%0Aimport allow.simulator.entity.Bus;%0Aimport allow.simulator.entity.Entity;%0Aimport allow.simulator.entity.Person;%0Aimport allow.simulator.entity.Person.Gender;%0Aimport allow.simulator.entity.Person.Profile;%0Aimport allow.simulator.util.Coordinate;%0A%0Apublic class TestMain %7B%0A    private final static String PROP_PATH = %22adaptation.properties%22;%0A%0A    public static void main(String%5B%5D args) throws ConfigurationException, FileNotFoundException %7B%0A%0A%09try %7B%0A%09    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());%0A%09%7D catch (Exception e) %7B%0A%0A%09%7D%0A%0A%09System.gc();%0A%09String propPath = PROP_PATH;%0A%09if (args.length %3E 0) %7B%0A%09    propPath = args%5B0%5D;%0A%09%7D%0A%0A%09// Ensemble instantiation%0A%09List%3CEntity%3E roles = new ArrayList%3CEntity%3E();%0A%0A%09Coordinate c1 = new Coordinate(11.5, 34.4);%0A%09Coordinate c2 = new Coordinate(11.5, 34.4);%0A%09Bus busDriver = new Bus(1, null, null, null, 20);%0A%09Person passenger1 = new Person(2, Gender.MALE, Profile.WORKER, null, null, c1, true, true, true, null, null);%0A%09Person passenger2 = new Person(3, Gender.MALE, Profile.WORKER, null, null, c2, true, true, true, null, null);%0A%0A%09roles.add(busDriver);%0A%09roles.add(passenger1);%0A%09roles.add(passenger2);%0A%0A%09Ensemble en = new Ensemble(%22routeA%22, roles);%0A%09en.solveIssue(%22IntenseTraffic%22);%0A%0A%09// System.exit(1);%0A%0A    %7D%0A%0A%7D%0A

Test Class added