### Question:
IncidentTemplateForm implements RecordForm { @Override public String toString() { StringBuilder sb = new StringBuilder("<Incidents>").append("\n"); for (Section section : sections) { sb.append(section).append("\n"); } return sb.toString(); }  List<Section> getSections(); void setSections(List<Section> sections); @Override String toString();  }### Answer:
@Test public void should_return_string_of_incident_template_form_when_section_is_empty() throws Exception { IncidentTemplateForm incidentTemplateForm = createIncidentTemplateForm(); assertThat(incidentTemplateForm.toString(), is("<Incidents>\n")); }