assertNotNull("no iteration", data);
assertEquals("wrong iteration", iteration.getId(), data.getId());
}
public void testProjectCRUD() throws Exception {
ProjectData expected = new ProjectData();
expected.setName("Test project");
expected.setDescription("This is the test project for CRUD");
ProjectData actual = xplanner.addProject(expected);
int id = actual.getId();
try {
assertEquals(expected, actual, new String[]{"name", "description"});
expected = actual;
actual = xplanner.getProject(id);