@Test public void test_custom_threshold() { MaxNumberStepsCheck check = new MaxNumberStepsCheck(); check.setThreshold(5); GherkinCheckVerifier.verify(check, CheckTestUtils.getTestFile("max-number-steps/max-number-steps-custom-threshold.feature")); }
@VisibleForTesting void setThreshold(int threshold) { this.threshold = threshold; }
MaxNumberStepsCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setThreshold(int threshold) { this.threshold = threshold; } }
MaxNumberStepsCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setThreshold(int threshold) { this.threshold = threshold; }  }
MaxNumberStepsCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setThreshold(int threshold) { this.threshold = threshold; }  @Override void visitFeature(FeatureTree tree); }
MaxNumberStepsCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setThreshold(int threshold) { this.threshold = threshold; }  @Override void visitFeature(FeatureTree tree);  }