public static RecordBuilder<Schema> record(String name) {
    return builder().record(name);
  }
@Test
  void validateDefaultsDisabled() {
    final String fieldName = "IntegerField";
    final String defaultValue = "foo";
    Schema schema = SchemaBuilder.record("ValidationRecord").fields().name(fieldName).notValidatingDefaults()
        .type("int").withDefault(defaultValue) // Would throw an exception on endRecord() if validations enabled
        .endRecord();
    assertNull(schema.getField(fieldName).defaultVal(), "Differing types, so this returns null");
    assertEquals(defaultValue, schema.getField(fieldName).defaultValue().asText(),
        "Schema is able to be successfully created as is without validation");
  }