public static Protocol parse(File file) throws IOException {
    try (JsonParser jsonParser = Schema.FACTORY.createParser(file)) {
      return parse(jsonParser);
    }
  }
@Test
  public void parse() throws IOException {
    File fic = new File("target/test-classes/share/test/schemas/namespace.avpr");
    Protocol protocol = Protocol.parse(fic);
    assertNotNull(protocol);
    assertEquals("TestNamespace", protocol.getName());
  }