@Test public void should_match_the_required_custom_value_and_not_raise_any_issue() { PuppetEnforceAuthorValueCheck check = new PuppetEnforceAuthorValueCheck(); check.setAuthor("Pat"); JSONCheckVerifier.verify( check, CheckTestUtils.getTestFile("puppet/author/custom/metadata.json")) .noMore(); }
@VisibleForTesting public void setAuthor(String author) { this.author = author; }
PuppetEnforceAuthorValueCheck extends AbstractPuppetCheck { @VisibleForTesting public void setAuthor(String author) { this.author = author; } }
PuppetEnforceAuthorValueCheck extends AbstractPuppetCheck { @VisibleForTesting public void setAuthor(String author) { this.author = author; }  }
PuppetEnforceAuthorValueCheck extends AbstractPuppetCheck { @VisibleForTesting public void setAuthor(String author) { this.author = author; }  @Override void visitPair(PairTree pair); @VisibleForTesting void setAuthor(String author); }
PuppetEnforceAuthorValueCheck extends AbstractPuppetCheck { @VisibleForTesting public void setAuthor(String author) { this.author = author; }  @Override void visitPair(PairTree pair); @VisibleForTesting void setAuthor(String author);  }