@Test
public void testGetName() throws Exception {

  Cluster cluster = createNiceMock(Cluster.class);
  expect(cluster.getClusterName()).andReturn("c1").anyTimes();
  replay(cluster);
  ClusterImpl clusterImpl = new ClusterImpl(cluster);
  Assert.assertEquals("c1", clusterImpl.getName());
  verify(cluster);
}