IFolder outputFolder = getProject().getFolder("output");
assertNotExists(outputFolder);
// do the action
RewriteElementIDs action = new RewriteElementIDs();
runAction(action, targetModel);
// get the rewritten model
InternetApplication model = (InternetApplication) action.getModel();
// none of the contained elements should have an ID containing '.' or 'model'
Iterator<EObject> it = model.eAllContents();
while (it.hasNext()) {
EObject obj = it.next();