+ ".json"), Matchers.eq("GET"), Matchers.any(Map.class)))
.toReturn(resp);
TwilioRestResponse memberresp = mock(TwilioRestResponse.class);
HashMap<String, Object> map = new HashMap<String, Object>();
stub(memberresp.toMap()).toReturn(map);
formattedDate = dateFormat.format(new Date());
map.put("call_sid", callSid);
map.put("queue_sid", queueSid);
map.put("position", "1");
map.put("date_enqueued", formattedDate);