public void testRemovePhantomEdges() throws Exception {
// copy files
copyFiles();
// do the phantom edges action
RemovePhantomEdgesAction act = new RemovePhantomEdgesAction();
act.doExecute(targetModel, new NullProgressMonitor());
// try and load the file directly
ResourceSet resourceSet = new ResourceSetImpl();
Resource resource = resourceSet.getResource(URI.createPlatformResourceURI(targetModel.getFullPath().toString(), false), true);
InternetApplication model = (InternetApplication) resource.getContents().get(0);