@Test public void should_match_the_required_custom_value_and_not_raise_any_issue() { PuppetEnforceLicenseValueCheck check = new PuppetEnforceLicenseValueCheck(); check.setLicense("blabla"); JSONCheckVerifier.verify( check, CheckTestUtils.getTestFile("puppet/license/match-required-value-custom/metadata.json")) .noMore(); }
@VisibleForTesting public void setLicense(String license) { this.license = license; }
PuppetEnforceLicenseValueCheck extends AbstractPuppetCheck { @VisibleForTesting public void setLicense(String license) { this.license = license; } }
PuppetEnforceLicenseValueCheck extends AbstractPuppetCheck { @VisibleForTesting public void setLicense(String license) { this.license = license; }  }
PuppetEnforceLicenseValueCheck extends AbstractPuppetCheck { @VisibleForTesting public void setLicense(String license) { this.license = license; }  @Override void visitPair(PairTree pair); @VisibleForTesting void setLicense(String license); }
PuppetEnforceLicenseValueCheck extends AbstractPuppetCheck { @VisibleForTesting public void setLicense(String license) { this.license = license; }  @Override void visitPair(PairTree pair); @VisibleForTesting void setLicense(String license);  }