final SchemaTree tree
= new CanonicalSchemaTree(SchemaKey.anonymousKey(), schema);
final SchemaContext context = new SchemaContext(tree, type);
final ProcessingReport report = mock(ProcessingReport.class);
final SchemaDigest digest = schemaDigester.process(report, context);
verify(digester1).digest(schema);
verify(digester2).digest(schema);
final Map<String,JsonNode> digests = digest.getDigests();
if (TYPES1.contains(type))
assertSame(digests.get(K1), digest1);
else
assertFalse(digests.containsKey(K1));