@Test
public void testGetComponentDependency() throws AmbariException {

  DependencyInfo dependency = metaInfo.getComponentDependency("HDP", "1.3.4", "HIVE", "HIVE_SERVER", "ZOOKEEPER_SERVER");
  assertEquals("ZOOKEEPER/ZOOKEEPER_SERVER", dependency.getName());
  assertEquals("ZOOKEEPER_SERVER", dependency.getComponentName());
  assertEquals("ZOOKEEPER", dependency.getServiceName());
  assertEquals("cluster", dependency.getScope());
}