@Test
public void testAcceptMapOfStringObject() {

    Map<String, Object> serviceData = new HashMap<String, Object>();
    Map<String, String> credData = new HashMap<String, String>();
    credData.put("twilio_api_base_url", "http://api.twilio.com/");
    serviceData.put("credentials", credData);
    assertFalse(creator.accept(serviceData));
    credData.put("twilio_api_base_url", "https://api.twilio.com/");
    assertTrue(creator.accept(serviceData));
    credData.remove("twilio_api_base_url");
    assertFalse(creator.accept(serviceData));
}