@Test public void should_contain_fewer_rules_than_the_allowed_number_and_not_raise_an_issue() { NumberOfRulesPerSheetCheck check = new NumberOfRulesPerSheetCheck(); check.setMax(11); CssCheckVerifier.verifyCssFile(check, CheckTestUtils.getCommonTestFile("maximumNumberOfRulesPerSheet11.css")); }
@VisibleForTesting void setMax(int max) { this.max = max; }
NumberOfRulesPerSheetCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setMax(int max) { this.max = max; } }
NumberOfRulesPerSheetCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setMax(int max) { this.max = max; }  }
NumberOfRulesPerSheetCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setMax(int max) { this.max = max; }  @Override void visitStyleSheet(StyleSheetTree tree); @Override void visitAtRule(AtRuleTree tree); @Override void visitRuleset(RulesetTree tree); }
NumberOfRulesPerSheetCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setMax(int max) { this.max = max; }  @Override void visitStyleSheet(StyleSheetTree tree); @Override void visitAtRule(AtRuleTree tree); @Override void visitRuleset(RulesetTree tree);  }