@Test public void should_throw_an_illegal_state_exception_as_the_atRulesToExclude_parameter_is_not_valid() { try { ExperimentalAtRuleCheck check = new ExperimentalAtRuleCheck(); check.setAtRulesToExclude("("); CssCheckVerifier.issuesOnCssFile(check, getTestFile("experimentalAtRuleUsage.css")).noMore(); } catch (IllegalStateException e) { assertThat(e.getMessage()).isEqualTo("Check css:experimental-atrule-usage (Experimental @-rules should not be used): " + "atRulesToExclude parameter \"(\" is not a valid regular expression."); } }
@VisibleForTesting void setAtRulesToExclude(String atRulesToExclude) { this.atRulesToExclude = atRulesToExclude; }
ExperimentalAtRuleCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setAtRulesToExclude(String atRulesToExclude) { this.atRulesToExclude = atRulesToExclude; } }
ExperimentalAtRuleCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setAtRulesToExclude(String atRulesToExclude) { this.atRulesToExclude = atRulesToExclude; }  }
ExperimentalAtRuleCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setAtRulesToExclude(String atRulesToExclude) { this.atRulesToExclude = atRulesToExclude; }  @Override void visitAtRule(AtRuleTree tree); @Override void validateParameters(); }
ExperimentalAtRuleCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setAtRulesToExclude(String atRulesToExclude) { this.atRulesToExclude = atRulesToExclude; }  @Override void visitAtRule(AtRuleTree tree); @Override void validateParameters();  }