AutonomiccsSystemVmTemplateService implements InitializingBean { protected boolean isTemplateRegistered(String templateName) { return autonomiccsSystemVmTemplateJdbcDao.isTemplateRegistered(templateName); }  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 isTemplateRegisteredTest() { boolean result = executeIsTemplateRegisteredTest(true); Assert.assertEquals(true, result); }