@Test
public void registerTemplatesIfNeededTestHeuristicCannotShutDownHost() throws Exception {

    configureWithOneHypervisorType(new ClusterManagementDummyAlgorithm(), true, false);
    spy.registerTemplatesIfNeeded();
    verifyRegisterTemplatesIfNeededCalledMethods(1, 1, 1, 1);
}