@Test
public void testAddProjectFromScratch() throws SimalRepositoryException,
URISyntaxException {
String uri = RDFUtils.PROJECT_NAMESPACE_URI + "TestingProjectFromScratch";
IProject project;
try {
project = SimalRepositoryFactory.getProjectService().createProject(uri);
project.addName("Testing");
project.setShortDesc("Just testing adding a manually built project");
project = SimalRepositoryFactory.getProjectService().getProject(uri);
assertNotNull("Project has not been added to repository", project);
assertEquals("Project name is incorrectly set", "Testing", project
.getName());
project.delete();
} catch (DuplicateURIException e) {
fail(e.getMessage());
}
}