### Question:
ICalendarConverter { @VisibleForTesting boolean responseRequested(ICalendarMethod method) { if (method != null) { return method == ICalendarMethod.REQUEST; } return true; }  MSMeetingRequest convertToMSMeetingRequest(ICalendar icalendar);  }### Answer:
@Test public void testResponseRequestedWhenNull() { assertThat(icalendarConverter.responseRequested(null)).isTrue(); }
@Test public void testResponseRequestedWhenRequest() { assertThat(icalendarConverter.responseRequested(ICalendarMethod.REQUEST)).isTrue(); }
@Test public void testResponseRequestedWhenCancel() { assertThat(icalendarConverter.responseRequested(ICalendarMethod.CANCEL)).isFalse(); }
@Test public void testResponseRequestedWhenReply() { assertThat(icalendarConverter.responseRequested(ICalendarMethod.REPLY)).isFalse(); }