public static GenericData get() {
    return INSTANCE;
  }
@Test
  void recordGetFieldDoesntExist() throws Exception {
    assertThrows(AvroRuntimeException.class, () -> {
      Schema schema = Schema.createRecord("test", "doc", "test", false, Collections.EMPTY_LIST);
      GenericData.Record record = new GenericData.Record(schema);
      record.get("does not exist");
    });
  }