@Test public void test_custom_threshold() { StepSentenceLengthCheck check = new StepSentenceLengthCheck(); check.setThreshold(50); GherkinCheckVerifier.verify(check, CheckTestUtils.getTestFile("step-sentence-length/step-sentence-length-custom-threshold.feature")); }
@VisibleForTesting void setThreshold(int threshold) { this.threshold = threshold; }
StepSentenceLengthCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setThreshold(int threshold) { this.threshold = threshold; } }
StepSentenceLengthCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setThreshold(int threshold) { this.threshold = threshold; }  }
StepSentenceLengthCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setThreshold(int threshold) { this.threshold = threshold; }  @Override void visitStep(StepTree tree); }
StepSentenceLengthCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setThreshold(int threshold) { this.threshold = threshold; }  @Override void visitStep(StepTree tree);  }