Schema getAvroCompatibleSchema() {
    return avroCompatibleSchema;
  }
@Test
  public void shouldDropOptionalFromRootPrimitiveSchema() {
    // Given:
    final Schema schema = Schema.OPTIONAL_INT64_SCHEMA;

    // When:
    final AvroDataTranslator translator =
        new AvroDataTranslator(schema, AvroProperties.DEFAULT_AVRO_SCHEMA_FULL_NAME);

    // Then:
    assertThat("Root required", translator.getAvroCompatibleSchema().isOptional(), is(false));
  }