new BasicTree(universe, null);
fail("Should throw an IllegalArgumentException");
} catch (IllegalArgumentException e) {
// OK expected exception
}
MockSynchronizerCore synchronizer = (MockSynchronizerCore) universe.getSynchronizer();
assertEquals(3, synchronizer.getNbScheduleCalled());
assertEquals(3, synchronizer.getScheduledTasks().size());
assertEquals(Photosynthesis.class, synchronizer.getScheduledTasks().get(0).getClass());
assertEquals(Aging.class, synchronizer.getScheduledTasks().get(1).getClass());
assertEquals(TreeGrowth.class, synchronizer.getScheduledTasks().get(2).getClass());
}