@Test(expected = InvalidTopologyException.class)
public void testCreate_NNHAInvaid() throws Exception {

  bpconfiguration.setProperty("hdfs-site", "dfs.nameservices", "val");
  expect(group4.getName()).andReturn("group4");
  hostGroupInfoMap.get("group4").removeHost("host5");
  TestTopologyRequest request = new TestTopologyRequest(TopologyRequest.Type.PROVISION);
  replayAll();
  new ClusterTopologyImpl(null, request);
  hostGroupInfoMap.get("group4").addHost("host5");
}