@Test public void should_not_raise_any_issue_because_the_number_of_scenarios_is_lower_than_the_custom_threshold() { MaxNumberScenariosCheck check = new MaxNumberScenariosCheck(); check.setThreshold(4); GherkinCheckVerifier.verify(check, CheckTestUtils.getTestFile("max-number-scenarios/lower-than-custom-threshold.feature")); }
@VisibleForTesting void setThreshold(int threshold) { this.threshold = threshold; }
MaxNumberScenariosCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setThreshold(int threshold) { this.threshold = threshold; } }
MaxNumberScenariosCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setThreshold(int threshold) { this.threshold = threshold; }  }
MaxNumberScenariosCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setThreshold(int threshold) { this.threshold = threshold; }  @Override void visitFeature(FeatureTree tree); }
MaxNumberScenariosCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setThreshold(int threshold) { this.threshold = threshold; }  @Override void visitFeature(FeatureTree tree);  }