@Test public void test_with_custom_threshold() { NestedRulesetsCheck check = new NestedRulesetsCheck(); check.setMax(2); CssCheckVerifier.verifyScssFile(check, CheckTestUtils.getScssTestFile("nested-rulesets/nestedRulesetsCustomThreshold.scss")); }
@VisibleForTesting void setMax(int max) { this.max = max; }
NestedRulesetsCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setMax(int max) { this.max = max; } }
NestedRulesetsCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setMax(int max) { this.max = max; }  }
NestedRulesetsCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setMax(int max) { this.max = max; }  @Override void visitStyleSheet(StyleSheetTree tree); @Override void visitRuleset(RulesetTree tree); }
NestedRulesetsCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setMax(int max) { this.max = max; }  @Override void visitStyleSheet(StyleSheetTree tree); @Override void visitRuleset(RulesetTree tree);  }