### Question:
HeadOrFootSectionWithoutOrderClauseViolation implements Violation { public String getHeaderOrFooterField() { return headFootOn; } HeadOrFootSectionWithoutOrderClauseViolation(final String headerOrFooterField, final Integer lineNumber); @Override boolean equals(final Object obj); String getHeaderOrFooterField(); @Override Integer getLineNumber(); @Override String getViolationDescription(); @Override String getViolationExplanation(); @Override ViolationId getViolationId(); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testGetHeaderOrFooterField() { assertThat(new HeadOrFootSectionWithoutOrderClauseViolation(fieldName, lineNumber).getHeaderOrFooterField()) .isEqualTo(fieldName); }