ConsolidationAlgorithmBase extends ClusterManagementDummyAlgorithm { @Override public boolean canHeuristicShutdownHosts() { return canHeuristicShutdownHost; }  @Override int getClusterIntervalBetweenConsolidation(); @Override Map<Long, HostResources> mapVMsToHost(List<HostResources> rankedHosts); boolean canMigrateVmToHost(VmResources vm, HostResources host); void updateHostUsedResources(VmResources vm, HostResources host); @Override final boolean canPowerOffHost(HostResources hostToPowerOff, CloudResources cloudResources); @Override final boolean canPowerOffAnotherHostInCloud(CloudResources cloudResources); @Override boolean canHeuristicShutdownHosts();  }
@Test public void canHeuristicShutdownHostsTest() { Assert.assertTrue(spyAlgorithm.canHeuristicShutdownHosts()); }