### Question:
ContentTemplate { @VisibleForTesting static String getDiv(String key, String tag, String tagClose, boolean includeFieldName) { checkArgument(!Strings.isNullOrEmpty(key), "Key cannot be null/empty."); checkArgument(!Strings.isNullOrEmpty(tag), "Tag cannot be null/empty."); checkArgument(!Strings.isNullOrEmpty(tagClose), "Closing tag cannot be null/empty."); StringBuilder html = new StringBuilder(); html.append("<div id='").append(HTML_ESCAPER.escape(key)).append("'>\n"); if (includeFieldName) { html.append(" <p>").append(HTML_ESCAPER.escape(key)).append(":").append("</p>\n"); } html.append(" ").append(tag).append("%s").append(tagClose).append("\n"); html.append("</div>\n"); return html.toString(); } private  ContentTemplate(Builder builder); String getTitle(); Set<String> getHighContent(); Set<String> getMediumContent(); Set<String> getLowContent(); static ContentTemplate fromConfiguration(String templateName); String apply(Map<String, Object> keyValues); String apply(Multimap<String, Object> keyValues);  }### Answer:
@Test public void testGetDivTag() { assertEquals( "<div id='theKey'>\n <p>theKey:</p>\n <h2>%s</h2>\n</div>\n", ContentTemplate.getDiv("theKey", "<h2>", "</h2>", true)); }
@Test public void testGetDivEmptyTag() { assertEquals( "<div id='theKey'>\n <p>theKey:</p>\n <p>%s</p>\n</div>\n", ContentTemplate.getDiv("theKey", "<p>", "</p>", true)); }
@Test public void testEmptyKey() { thrown.expect(IllegalArgumentException.class); ContentTemplate.getDiv("", "<p>", "</p>", true); }
@Test public void testEmptyTag() { thrown.expect(IllegalArgumentException.class); ContentTemplate.getDiv("theKey", "", "</p>", true); }