@Test public void testGetHeaderOrFooterField() { assertThat(new HeadOrFootSectionWithoutOrderClauseViolation(fieldName, lineNumber).getHeaderOrFooterField()) .isEqualTo(fieldName); }
public String getHeaderOrFooterField() { return headFootOn; }
HeadOrFootSectionWithoutOrderClauseViolation implements Violation { public String getHeaderOrFooterField() { return headFootOn; } }
HeadOrFootSectionWithoutOrderClauseViolation implements Violation { public String getHeaderOrFooterField() { return headFootOn; } HeadOrFootSectionWithoutOrderClauseViolation(final String headerOrFooterField, final Integer lineNumber); }
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(); }
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();  }