ClusterManagementDummyAlgorithm implements ClusterAdministrationHeuristicAlgorithm { @Override public int getClusterIntervalBetweenConsolidation() { return Integer.MAX_VALUE; }  @Override int getClusterIntervalBetweenConsolidation(); @Override List<HostResources> rankHosts(List<HostResources> hosts); @Override Map<Long, HostResources> mapVMsToHost(List<HostResources> rankedHosts); @Override List<HostResources> rankHostToPowerOff(List<HostResources> idleHosts); @Override boolean canPowerOffHost(HostResources hostToPowerOff, CloudResources cloudResources); @Override boolean canPowerOffAnotherHostInCloud(CloudResources cloudResources); @Override boolean canHeuristicShutdownHosts();  }
@Test public void getClusterIntervalBetweenConsolidationTest() { int result = spyAlgorithm.getClusterIntervalBetweenConsolidation(); Assert.assertEquals(Integer.MAX_VALUE, result); }