AutonomiccsSystemVmTemplateService implements InitializingBean { public boolean isTemplateRegisteredForHypervisor(HypervisorType hypervisorType) { return isTemplateRegistered(getAutonomiccsSystemVmTemplateName(hypervisorType)); }  boolean isTemplateRegisteredForHypervisor(HypervisorType hypervisorType); String getAutonomiccsSystemVmTemplateDisplayText(HypervisorType hypervisor); String getAutonomiccsSystemVmTemplateName(HypervisorType hypervisor); String getSystemVmTemplateUrl(HypervisorType hypervisor); VMTemplateVO findAutonomiccsSystemVmTemplate(HypervisorType hypervisor); @Override /** * This method is executed by Spring framework. * It configures the template's display text and name */ void afterPropertiesSet(); boolean isTemplateRegisteredAndReadyForHypervisor(HypervisorType hypervisorType);  }
@Test public void isTemplateRegisteredForHypervisorTest() { executeIsTemplateRegisteredForHypervisorTest(true); }