@Test public void testCallGetNotifications() { Call call = new Call(CLIENT, CALL_SID); NotificationList notifications = call.getNotifications(); assertNotNull(notifications); assertEquals(CALL_SID, notifications.getRequestCallSid()); }
@Test public void testCallNotificationListTwilioRestClientStringStringMap() { NotificationList notifications = new NotificationList(CLIENT, CALL_SID, new HashMap<String, String>()); assertNotNull(notifications); assertEquals(CALL_SID, notifications.getRequestCallSid()); }