root.put("pluralizedEntityName", "SampleEntities");
root.put("entityId", manyToOneProperty);
root.put("properties", properties);
Resource<URL> templateResource = resourceFactory.create(getClass().getResource(Deployments.BASE_PACKAGE_PATH + Deployments.SEARCH_RESULTS));
Template processor = processorFactory.create(templateResource, FreemarkerTemplate.class);
String output = processor.process(root);
Document html = Jsoup.parseBodyFragment(output);
assertThat(output.trim(), not(equalTo("")));
Elements headers = html.select("table > thead > tr > th");
assertThat(headers.size(), equalTo(1));