@Test
public void registerTemplatesIfNeededTestIsTemplateRegisteredForHypervisorTrue() throws Exception {

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