@Test
public void deserialize() throws JsonProcessingException, IOException {

  when(parser.readValueAsTree()).thenReturn(jsonNode);
  Schema result = new SchemaDeserializer().deserialize(parser, null);
  assertThat(result, is(schema));
  verify(parser).readValueAsTree();
}