@Test public void should_follow_a_custom_naming_convention_and_not_raise_an_issue() { check.setFormat("^[a-z][-a-z]+\\.feature"); GherkinCheckVerifier.issues(check, CheckTestUtils.getTestFile("file-name/file-name-custom-ok.feature")) .noMore(); }
@VisibleForTesting void setFormat(String format) { this.format = format; }
FileNameCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setFormat(String format) { this.format = format; } }
FileNameCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setFormat(String format) { this.format = format; }  }
FileNameCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setFormat(String format) { this.format = format; }  @Override void visitGherkinDocument(GherkinDocumentTree tree); @Override void validateParameters(); }
FileNameCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setFormat(String format) { this.format = format; }  @Override void visitGherkinDocument(GherkinDocumentTree tree); @Override void validateParameters();  }