docs: public HalFormsDocument<T> andTemplate(String name, HalFormsTemplate template) {
  
  		Assert.hasText(name, "Template name must not be null or empty!");
  		Assert.notNull(template, "Template must not be null!");
  
  		Map<String, HalFormsTemplate> templates = new HashMap<>(this.templates);
  		templates.put(name, template);
  
  		return new HalFormsDocument<>(resource, resources, embedded, pageMetadata, links, templates);
  	}