CommHistory::Event Ut_NotificationManager::createMissedCallEvent(const QString& remoteUid, int contactId) { CommHistory::Event event; event.setType(CommHistory::Event::CallEvent); event.setDirection(CommHistory::Event::Inbound); event.setIsMissedCall (true); event.setStartTime(QDateTime::currentDateTime()); event.setEndTime(QDateTime::currentDateTime()); event.setLocalUid(DUT_ACCOUNT_PATH); event.setRemoteUid(remoteUid); event.setContactId(contactId); event.setId(eventId); eventId++; return event; }