@Test public void should_throw_an_illegal_state_exception_as_the_propertiesToExclude_parameter_is_not_valid() { try { ExperimentalPropertyCheck check = new ExperimentalPropertyCheck(); check.setPropertiesToExclude("("); CssCheckVerifier.issuesOnCssFile(check, getTestFile("experimentalPropertyUsage.css")).noMore(); } catch (IllegalStateException e) { assertThat(e.getMessage()).isEqualTo("Check css:experimental-property-usage (Experimental properties should not be used): " + "propertiesToExclude parameter \"(\" is not a valid regular expression."); } }
@VisibleForTesting void setPropertiesToExclude(String propertiesToExclude) { this.propertiesToExclude = propertiesToExclude; }
ExperimentalPropertyCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setPropertiesToExclude(String propertiesToExclude) { this.propertiesToExclude = propertiesToExclude; } }
ExperimentalPropertyCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setPropertiesToExclude(String propertiesToExclude) { this.propertiesToExclude = propertiesToExclude; }  }
ExperimentalPropertyCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setPropertiesToExclude(String propertiesToExclude) { this.propertiesToExclude = propertiesToExclude; }  @Override void visitProperty(PropertyTree tree); @Override void validateParameters(); }
ExperimentalPropertyCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setPropertiesToExclude(String propertiesToExclude) { this.propertiesToExclude = propertiesToExclude; }  @Override void visitProperty(PropertyTree tree); @Override void validateParameters();  }