@Test public void all_tags_should_follow_a_custom_naming_convention_and_not_raise_any_issue() { check.setFormat("^[a-z][-a-z]*$"); GherkinCheckVerifier.verify(check, CheckTestUtils.getTestFile("tag-name/tag-name-custom-ok.feature")); }
@VisibleForTesting void setFormat(String format) { this.format = format; }
TagNameCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setFormat(String format) { this.format = format; } }
TagNameCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setFormat(String format) { this.format = format; }  }
TagNameCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setFormat(String format) { this.format = format; }  @Override void visitTag(TagTree tree); @Override void validateParameters(); }
TagNameCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setFormat(String format) { this.format = format; }  @Override void visitTag(TagTree tree); @Override void validateParameters();  }