SimulationRepository repo = SimulationRunner.runSimulation("defaultPackage.banl-loan", out, 10, 100, true, "onevent.simulation.rules.drl");
assertNotNull(repo);
WorkingMemorySimulationRepository wmRepo = (WorkingMemorySimulationRepository) repo;
wmRepo.getSession().execute(new InsertElementsCommand((Collection)wmRepo.getAggregatedEvents()));
wmRepo.fireAllRules();
List<AggregatedSimulationEvent> summary = (List<AggregatedSimulationEvent>) wmRepo.getGlobal("summary");
assertNotNull(summary);
assertEquals(12, summary.size());
assertEquals(102, wmRepo.getEvents().size());