### Question:
EventServiceImpl implements EventService { @Override public void trackEventExtIdMSEventUidTranslation(String eventExtId, MSEventUid msEventUid, Device device) throws DaoException { byte[] hashedExtId = hashEventExtId(eventExtId); calendarDao.insertExtIdMSEventUidMapping(new EventExtId(eventExtId), msEventUid, device, hashedExtId); } @Inject @VisibleForTesting  EventServiceImpl(CalendarDao calendarDao, EventConverter eventConverter, 
			Ical4jHelper ical4jHelper, Ical4jUser.Factory ical4jUserFactory, OpushResourcesHolder opushResourcesHolder); @Override MSEvent convertEventToMSEvent(UserDataRequest udr, Object event); @Override MSEventUid getMSEventUidFor(String eventExtId, Device device); @Override String getEventExtIdFor(MSEventUid msEventUid, Device device); @Override void trackEventExtIdMSEventUidTranslation(String eventExtId,
			MSEventUid msEventUid, Device device); @Override MSEvent parseEventFromICalendar(UserDataRequest udr, String ics);  }### Answer:
@Test public void testTrackEventExtIdMSEventUidTranslation() throws DaoException { CalendarDao calendarDao = mocksControl.createMock(CalendarDao.class); EventExtId eventExtId = eventExtId(); MSEventUid msEventUid = new MSEventUid("ms_event_uid"); Device device = device(); byte[] hashedExtId = hashedExtId(); calendarDao.insertExtIdMSEventUidMapping(eq(eventExtId), eq(msEventUid), eq(device), aryEq(hashedExtId)); expectLastCall(); mocksControl.replay(); EventService eventService = new EventServiceImpl(calendarDao, null, null, null, opushResourcesHolder); eventService.trackEventExtIdMSEventUidTranslation(eventExtId.getExtId(), msEventUid, device); mocksControl.verify(); }