final ObjectNode schema = FACTORY.objectNode();
schema.put("format", "foo");
final SchemaTree tree
= new CanonicalSchemaTree(SchemaKey.anonymousKey(), schema);
final SchemaContext context = new SchemaContext(tree, NodeType.NULL);
final ValidatorList in = new ValidatorList(context,
Collections.<KeywordValidator>emptyList());
final ArgumentCaptor<ProcessingMessage> captor
= ArgumentCaptor.forClass(ProcessingMessage.class);
final ValidatorList out = processor.process(report, in);
assertTrue(Lists.newArrayList(out).isEmpty());
verify(report).warn(captor.capture());