assertTrue( registry.getProjects().contains(project) );
assertNotNull(project.eResource());
assertEquals(project, project.getElementsInternal().get(0).getProject());
Resource resource = project.eResource();
IProjectElement elem = project.getElements().get(0);
// Test remove project but leave files
deleteAction.runDoDelete(project,false, Window.OK);
assertEquals(0, registry.getProjects().size());
assertTrue( new File(projecturi.toFileString()).exists() );