コード例 #1
0
 @Test
 public void shouldMapCallDirection() {
   assertEquals("Incoming", messagesRequest.getCallDirection());
 }
コード例 #2
0
 @Test
 public void shouldMapCallDate() {
   assertEquals(callLog.getStartTime().toDate(), messagesRequest.getCallDate());
 }
コード例 #3
0
 @Test
 public void shouldMapTotalMessagesFlowsAccessDurationInSeconds() {
   assertEquals(Long.valueOf(60L), messagesRequest.getTotalMessagesAccessDuration());
 }
コード例 #4
0
 @Test
 public void shouldMapIndividualMessagesFlowAccessDurationInSeconds() {
   assertEquals(asList(60), messagesRequest.getIndividualMessagesAccessDurations());
 }
コード例 #5
0
 @Test
 public void shouldMapMessages() {
   assertEquals(asList("response1", "response2"), messagesRequest.getMessagesPlayed());
 }
コード例 #6
0
 @Test
 public void shouldMapNumberOfTimesMessagesAccessed() {
   assertEquals(Integer.valueOf(1), messagesRequest.getNumberOfTimesMessagesAccessed());
 }
コード例 #7
0
 @Test
 public void shouldMapPatientDocumentId() {
   assertEquals(callLog.getPatientDocumentId(), messagesRequest.getPatientDocumentId());
 }