@Test public void ICalendar_constructor_storedDelegatedAttendeesFromEvent() { List<ICalendar> iCalendars = new ArrayList<>(); ICalendar iCalendar = new ICalendar(); VEvent event = new VEvent(); Attendee requiredAttendee = new Attendee("A", "a@b.com"); requiredAttendee.setParticipationStatus(ParticipationStatus.DELEGATED); event.addAttendee(requiredAttendee); iCalendar.addEvent(event); iCalendars.add(iCalendar); ICalData data = new ICalData(iCalendars); assertEquals(requiredAttendee, data.getCalendarData().get(0).getDelegated()[0]); }
public List<ICalendarData> getCalendarData() { return calendarData; }
ICalData { public List<ICalendarData> getCalendarData() { return calendarData; } }
ICalData { public List<ICalendarData> getCalendarData() { return calendarData; } ICalData(List<ICalendar> iCalendars); }
ICalData { public List<ICalendarData> getCalendarData() { return calendarData; } ICalData(List<ICalendar> iCalendars); List<ICalendarData> getCalendarData(); }
ICalData { public List<ICalendarData> getCalendarData() { return calendarData; } ICalData(List<ICalendar> iCalendars); List<ICalendarData> getCalendarData(); static final String METHOD_PUBLISH; static final String METHOD_REPLY; static final String METHOD_REQUEST; static final String METHOD_COUNTER; }