@Test
public void testParseStaleDatanodeListSingleDatanode() throws Exception {

  // Confirm all types of values can be properly parsed
  String json = "{"
      + "\"1.2.3.4:5\": {"
      + "  \"numBlocks\": 5,"
      + "  \"fooString\":\"stringValue\","
      + "  \"fooInteger\": 1,"
      + "  \"fooFloat\": 1.0,"
      + "  \"fooArray\": []"
      + "}"
      + "}";
  Set<String> out = DynoInfraUtils.parseStaleDataNodeList(json, 10, LOG);
  assertEquals(1, out.size());
  assertTrue(out.contains("1.2.3.4:5"));
}