@Test public void should_find_some_spelling_mistakes_and_raise_some_issues_default_en_US_language() { SpellingCheck check = new SpellingCheck(); check.setWordsToIgnore("blabla,toto"); GherkinCheckVerifier.verify(check, CheckTestUtils.getTestFile("spelling/spelling.feature")); }
@VisibleForTesting void setWordsToIgnore(String wordsToIgnore) { this.wordsToIgnore = wordsToIgnore; }
SpellingCheck extends SubscriptionVisitorCheck { @VisibleForTesting void setWordsToIgnore(String wordsToIgnore) { this.wordsToIgnore = wordsToIgnore; } }
SpellingCheck extends SubscriptionVisitorCheck { @VisibleForTesting void setWordsToIgnore(String wordsToIgnore) { this.wordsToIgnore = wordsToIgnore; }  }
SpellingCheck extends SubscriptionVisitorCheck { @VisibleForTesting void setWordsToIgnore(String wordsToIgnore) { this.wordsToIgnore = wordsToIgnore; }  @Override List<Tree.Kind> nodesToVisit(); @Override void visitFile(Tree tree); @Override void visitNode(Tree tree); @Override void validateParameters(); }
SpellingCheck extends SubscriptionVisitorCheck { @VisibleForTesting void setWordsToIgnore(String wordsToIgnore) { this.wordsToIgnore = wordsToIgnore; }  @Override List<Tree.Kind> nodesToVisit(); @Override void visitFile(Tree tree); @Override void visitNode(Tree tree); @Override void validateParameters();  }