entry.getTags().add(TAG_1); assertEquals(3, entry.getTags().size()); CALENDAR_SERVICE.updateCalendarEntry(entry); entry.getTags().add(TAG_3); entry.getTags().add(TAG_1); CALENDAR_SERVICE.updateCalendarEntry(entry); CALENDAR_SERVICE.updateCalendarEntry(entry); entry.getTags().add(TAG_2); entry.getTags().add(TAG_3); CALENDAR_SERVICE.updateCalendarEntry(entry); entry.getTags().add(TAG_3); entry.getTags().add(TAG_1); CALENDAR_SERVICE.updateCalendarEntry(entry);
((CalendarEntryDTO)entryC).setOutlook(true); ((CalendarEntryDTO)entryC).setOutlookUID(uidC); CALENDAR_SERVICE.updateCalendarEntry(entryB); CALENDAR_SERVICE.updateCalendarEntry(entryC);
CALENDAR_SERVICE.updateCalendarEntry(c3); c3.setEnd(c20110719tue.getTime()); c3.setLastRecurrence(c20110722fri.getTime()); CALENDAR_SERVICE.updateCalendarEntry(c3); CALENDAR_SERVICE.updateCalendarEntry(c3);
entry.setOutlookUID(null); CALENDAR_SERVICE.updateCalendarEntry(entry);
CALENDAR_SERVICE.updateCalendarEntry(entry); fail("Shouldn't be able to update a brand new entry");