DefaultClusterHealthMonitor implements ClusterHealthMonitor { @Override public String getClusterId() { return clusterId; } DefaultClusterHealthMonitor(String clusterId, ShardService shardService); @Override String getClusterId(); @Override void healthCheckMasterDown(String shardId); @Override void healthCheckMasterUp(String shardId); @Override void outerClientMasterDown(String shardId); @Override void outerClientMasterUp(String shardId); @Override void addListener(Listener listener); @Override void removeListener(Listener listener); @Override ClusterHealthState getState();  }
@Test public void testGetClusterId() { Assert.assertEquals(clusterId, monitor.getClusterId()); }