@Test
public void testZooKeeper134Dependencies() throws Exception {

  ServiceInfo service = metaInfo.getService(STACK_NAME_HDP, "1.3.4", "ZOOKEEPER");
  List<ComponentInfo> componentList = service.getComponents();
  Assert.assertEquals(2, componentList.size());
  for (ComponentInfo component : componentList) {
    String name = component.getName();
    if (name.equals("ZOOKEEPER_SERVER")) {
      // dependencies
      Assert.assertEquals(0, component.getDependencies().size());
      // component auto deploy
      Assert.assertNull(component.getAutoDeploy());
      // cardinality
      Assert.assertEquals("1", component.getCardinality());
    }
    if (name.equals("ZOOKEEPER_CLIENT")) {
      // dependencies
      Assert.assertEquals(0, component.getDependencies().size());
      // component auto deploy
      Assert.assertNull(component.getAutoDeploy());
      // cardinality
      Assert.assertEquals("0+", component.getCardinality());
    }
  }
}