public static RecordBuilder<Schema> record(String name) {
    return builder().record(name);
  }
@Test
  void namesAcceptAll() throws InterruptedException {
    // Ensure that Schema.setNameValidator won't interfere with others unit tests.
    Runnable r = () -> {
      Schema.setNameValidator(NameValidator.NO_VALIDATION);
      final Schema schema = SchemaBuilder.record("7name").fields().name("123").type(Schema.create(Schema.Type.INT))
          .noDefault().endRecord();
      Assertions.assertNotNull(schema);
      Assertions.assertEquals("7name", schema.getName());
      final Schema.Field field = schema.getField("123");
      Assertions.assertEquals("123", field.name());
    };

    final Throwable[] exception = new Throwable[] { null };
    Thread t = new Thread(r);
    t.setUncaughtExceptionHandler((Thread th, Throwable e) -> exception[0] = e);
    t.start();
    t.join();
    Assertions.assertNull(exception[0], () -> exception[0].getMessage());
  }