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

    CreateSecondaryStagingStoreCmd cmd = new CreateSecondaryStagingStoreCmd();
    HashMap<String, Map<String, String>> details = new HashMap<String, Map<String, String>>();
    HashMap<String, String> kv = new HashMap<String, String>();
    kv.put("key", "TEST-KEY");
    kv.put("value", "TEST-VALUE");
    details.put("does not matter", kv);
    ApiCmdTestUtil.set(cmd, "details", details);
    Map<String, String> detailsMap = cmd.getDetails();
    Assert.assertNotNull(detailsMap);
    Assert.assertEquals(1, detailsMap.size());
    Assert.assertTrue(detailsMap.containsKey("TEST-KEY"));
    Assert.assertEquals("TEST-VALUE", detailsMap.get("TEST-KEY"));
}