@Test
public void clusterResourcesAvailableToStartTest() {

    List<HostResources> hosts = createClusterHomogeneousHosts(1);
    ClusterResourcesAvailableToStart cluster = clusterResourcesService.createClusterResourcesAvailableToStart(random.nextLong(), "cluster", hosts);
    checkCpuAndMemory(cluster);
    Assert.assertEquals(hosts, cluster.getHostsToStart());
}