//notice that any of c's dependents no longer appear now
printModuleDependees(dependencyManager, "module-a");
//now add c, depending on a
ModuleDefinition newC = new SimpleModuleDefinition(null, "module-c", ModuleTypes.APPLICATION, null, new String[] {"module-a"}, null, null, null, null, true);
//and e, with c as parent, and depending also on b
new SimpleModuleDefinition(newC, "module-e", ModuleTypes.APPLICATION, null, new String[]{ "module-b" }, null, null, null, null, true);
dependencyManager.addModule("module-a", newC);
//we should see c and e in the list of dependencies
printModuleDependees(dependencyManager, "module-a");