assertEquals("Approved claim", 1, reporter.claims.size());
assertEquals("Approved claim", new MockClaimReporter.Claim("subject", Claims.LICENSE_APPROVAL_PREDICATE, "false", false), reporter.claims.get(0));
}
public void testCustomNames() throws Exception {
reporter = new MockClaimReporter();
String[] custom = {"Example"};
policy = new DefaultPolicy(reporter, custom);
policy.claim("subject", Claims.LICENSE_FAMILY_PREDICATE, "?????", true);
policy.claim("subject", Claims.LICENSE_FAMILY_PREDICATE, W3CDocumentLicenseFamily.W3C_DOCUMENT_COPYRIGHT_NAME, true);
policy.claim("subject", Claims.LICENSE_FAMILY_PREDICATE, W3CSoftwareLicenseFamily.W3C_SOFTWARE_COPYRIGHT_NAME, true);