@Test public void should_be_written_in_the_custom_language_and_not_raise_any_issue() { SameFeatureLanguageCheck check = new SameFeatureLanguageCheck(); check.setLanguage("fr"); GherkinCheckVerifier.issues( check, CheckTestUtils.getTestFile("same-feature-language/fr.feature"), "fr") .noMore(); }
@VisibleForTesting void setLanguage(String language) { this.language = language; }
SameFeatureLanguageCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setLanguage(String language) { this.language = language; } }
SameFeatureLanguageCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setLanguage(String language) { this.language = language; }  }
SameFeatureLanguageCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setLanguage(String language) { this.language = language; }  @Override void visitGherkinDocument(GherkinDocumentTree tree); @Override void validateParameters(); }
SameFeatureLanguageCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setLanguage(String language) { this.language = language; }  @Override void visitGherkinDocument(GherkinDocumentTree tree); @Override void validateParameters();  }