@Test
public void update() {
ReportTO report = new ReportTO();
report.setName("testReportForUpdate" + getUUIDString());
report.addReportletConf(new UserReportletConf("first"));
report.addReportletConf(new UserReportletConf("second"));
report = createReport(report);
assertNotNull(report);
assertEquals(2, report.getReportletConfs().size());
report.addReportletConf(new UserReportletConf("last"));
reportService.update(report.getId(), report);
ReportTO updated = reportService.read(report.getId());
assertNotNull(updated);
assertEquals(3, updated.getReportletConfs().size());