@Test public void shouldMapCallDirection() { assertEquals("Incoming", messagesRequest.getCallDirection()); }
@Test public void shouldMapCallDate() { assertEquals(callLog.getStartTime().toDate(), messagesRequest.getCallDate()); }
@Test public void shouldMapTotalMessagesFlowsAccessDurationInSeconds() { assertEquals(Long.valueOf(60L), messagesRequest.getTotalMessagesAccessDuration()); }
@Test public void shouldMapIndividualMessagesFlowAccessDurationInSeconds() { assertEquals(asList(60), messagesRequest.getIndividualMessagesAccessDurations()); }
@Test public void shouldMapMessages() { assertEquals(asList("response1", "response2"), messagesRequest.getMessagesPlayed()); }
@Test public void shouldMapNumberOfTimesMessagesAccessed() { assertEquals(Integer.valueOf(1), messagesRequest.getNumberOfTimesMessagesAccessed()); }
@Test public void shouldMapPatientDocumentId() { assertEquals(callLog.getPatientDocumentId(), messagesRequest.getPatientDocumentId()); }