@Test
public void testRenderMapValueMap() throws IOException {

  Map<String, Map<String, String>> map = new LinkedHashMap<>();
  map.put("ZOOKEEPER", Collections.singletonMap("ZOOKEEPER_SERVER", "INSTALLED"));
  map.put("MAPREDUCE2", Collections.singletonMap("HISTORYSERVER", "STARTED"));
  map.put("HDFS", Collections.singletonMap("DATANODE", "STARTED"));
  assertEquals(IOUtils.toString(new FileInputStream(new File("src/test/resources/3columns"))),
    TableRenderer.renderMapValueMap(map, "SERVICE", "COMPONENT", "STATE"));
}