@Test
public void testServiceProviders() throws IllegalArgumentException,
        IllegalAccessException {

    CreateVPCOfferingCmd cmd = new CreateVPCOfferingCmd();
    HashMap<String, Map<String, String>> providers = new HashMap<String, Map<String, String>>();
    HashMap<String, String> kv = new HashMap<String, String>();
    kv.put("service", "TEST-SERVICE");
    kv.put("provider", "TEST-PROVIDER");
    providers.put("does not matter", kv);
    ApiCmdTestUtil.set(cmd, ApiConstants.SERVICE_PROVIDER_LIST, providers);
    Map<String, List<String>> providerMap = cmd.getServiceProviders();
    Assert.assertNotNull(providerMap);
    Assert.assertEquals(1, providerMap.size());
    Assert.assertTrue(providerMap.containsKey("TEST-SERVICE"));
    Assert.assertTrue(providerMap.get("TEST-SERVICE").contains("TEST-PROVIDER"));
}