@Test public void should_throw_an_illegal_state_exception_as_the_pseudosToExclude_parameter_is_not_valid() { try { ExperimentalPseudoCheck check = new ExperimentalPseudoCheck(); check.setPseudosToExclude("("); CssCheckVerifier.issuesOnCssFile(check, getTestFile("experimentalPseudoUsage.css")).noMore(); } catch (IllegalStateException e) { assertThat(e.getMessage()).isEqualTo("Check css:experimental-pseudo-usage (Experimental pseudo-elements and pseudo-classes should not be used): " + "pseudosToExclude parameter \"(\" is not a valid regular expression."); } }
@VisibleForTesting void setPseudosToExclude(String pseudosToExclude) { this.pseudosToExclude = pseudosToExclude; }
ExperimentalPseudoCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setPseudosToExclude(String pseudosToExclude) { this.pseudosToExclude = pseudosToExclude; } }
ExperimentalPseudoCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setPseudosToExclude(String pseudosToExclude) { this.pseudosToExclude = pseudosToExclude; }  }
ExperimentalPseudoCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setPseudosToExclude(String pseudosToExclude) { this.pseudosToExclude = pseudosToExclude; }  @Override void visitPseudoFunction(PseudoFunctionTree tree); @Override void visitPseudoIdentifier(PseudoIdentifierTree tree); @Override void validateParameters(); }
ExperimentalPseudoCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setPseudosToExclude(String pseudosToExclude) { this.pseudosToExclude = pseudosToExclude; }  @Override void visitPseudoFunction(PseudoFunctionTree tree); @Override void visitPseudoIdentifier(PseudoIdentifierTree tree); @Override void validateParameters();  }