### Question:
EventConverterImpl implements EventConverter { @Override public boolean isInternalEvent(Event event, boolean defaultValue){ return msEventToObmEventConverter.isInternalEvent(event, defaultValue); } @Inject @VisibleForTesting  EventConverterImpl(MSEventToObmEventConverterImpl msEventToObmEventConverter, 
			ObmEventToMSEventConverterImpl obmEventToMsEventConverter); @Override Participation getParticipation(Participation oldParticipation, AttendeeStatus attendeeStatus); @Override Participation getParticipation(AttendeeStatus status); @Override boolean isInternalEvent(Event event, boolean defaultValue); @Override boolean isInternalEvent(Event oldEvent, EventExtId eventExtId); @Override Event convert(User user, Event oldEvent, MSEvent data, boolean isInternal); @Override MSEvent convert(Event event, MSEventUid msEventUid, User user);  }### Answer:
@Test public void testIsInternalWhenBothNull() { assertThat(testee.isInternalEvent(null, null)).isTrue(); }
@Test public void testIsInternalWhenOldEventInternal() { Event oldEvent = new Event(); oldEvent.setInternalEvent(true); EventExtId eventExtId = new EventExtId("123"); assertThat(testee.isInternalEvent(oldEvent, eventExtId)).isTrue(); }
@Test public void testIsInternalWhenOldEventExternal() { Event oldEvent = new Event(); oldEvent.setInternalEvent(false); EventExtId eventExtId = new EventExtId("123"); assertThat(testee.isInternalEvent(oldEvent, eventExtId)).isFalse(); }
@Test public void testIsInternalOneventExtIdNotNull() { Event oldEvent = null; EventExtId eventExtId = new EventExtId("123"); assertThat(testee.isInternalEvent(oldEvent, eventExtId)).isFalse(); }