public class LoadSaveTests {
@Test
public void testSave() {
IModelingProject project = new ModelingProject();
project.setName("test-project");
project.setConfigProperty("dummy-prop", "myvalue");
UmlResource resource = new UmlResource();
resource.setName("xmi.1");
resource.setLocation("/home/goldivan/Documenti/poli/gallotti/Examples_Input/CaseStudyPolimi(ATOP).uml");
resource.setConfigProperty("isXmiValid", "true");
try {
project.addResource(resource);
} catch (ResourceException e) {
e.printStackTrace();
assertTrue(false);
}