@Test public void lf_should_find_cr_and_raise_issues() throws Exception { check.setEndLineCharacters("LF"); GherkinCheckVerifier.issues(check, getTestFileWithProperEndLineCharacters("\r")) .next().withMessage("Set all end-line characters to 'LF' in this file.") .noMore(); }
@VisibleForTesting void setEndLineCharacters(String endLineCharacters) { this.endLineCharacters = endLineCharacters; }
EndLineCharactersCheck extends DoubleDispatchVisitorCheck implements CharsetAwareVisitor { @VisibleForTesting void setEndLineCharacters(String endLineCharacters) { this.endLineCharacters = endLineCharacters; } }
EndLineCharactersCheck extends DoubleDispatchVisitorCheck implements CharsetAwareVisitor { @VisibleForTesting void setEndLineCharacters(String endLineCharacters) { this.endLineCharacters = endLineCharacters; }  }
EndLineCharactersCheck extends DoubleDispatchVisitorCheck implements CharsetAwareVisitor { @VisibleForTesting void setEndLineCharacters(String endLineCharacters) { this.endLineCharacters = endLineCharacters; }  @Override void visitGherkinDocument(GherkinDocumentTree tree); @Override void validateParameters(); @Override void setCharset(Charset charset); }
EndLineCharactersCheck extends DoubleDispatchVisitorCheck implements CharsetAwareVisitor { @VisibleForTesting void setEndLineCharacters(String endLineCharacters) { this.endLineCharacters = endLineCharacters; }  @Override void visitGherkinDocument(GherkinDocumentTree tree); @Override void validateParameters(); @Override void setCharset(Charset charset);  }