private DriftDefinitionTemplate loadTemplate(String name, boolean verifyResultsUnique) {
DriftDefinitionTemplateCriteria criteria = new DriftDefinitionTemplateCriteria();
criteria.addFilterResourceTypeId(resourceType.getId());
criteria.addFilterName(name);
criteria.fetchDriftDefinitions(true);
criteria.fetchResourceType(true);
PageList<DriftDefinitionTemplate> templates = templateMgr.findTemplatesByCriteria(getOverlord(), criteria);
if (verifyResultsUnique) {
assertEquals("Expected to find one template", 1, templates.size());
}