@Override
  protected SchemaTransform from(FileWriteSchemaTransformConfiguration configuration) {
    return new FileWriteSchemaTransform(configuration);
  }
@Test
  public void formatMapsToFileWriteSchemaFormatTransform() {
    FileWriteSchemaTransformFormatProvider avroFormatProvider =
        ((FileWriteSchemaTransform) PROVIDER.from(defaultConfiguration().setFormat(AVRO).build()))
            .getProvider();
    assertTrue(avroFormatProvider instanceof AvroWriteSchemaTransformFormatProvider);

    FileWriteSchemaTransformFormatProvider jsonFormatProvider =
        ((FileWriteSchemaTransform) PROVIDER.from(defaultConfiguration().setFormat(JSON).build()))
            .getProvider();
    assertTrue(jsonFormatProvider instanceof JsonWriteSchemaTransformFormatProvider);

    FileWriteSchemaTransformFormatProvider parquetFormatProvider =
        ((FileWriteSchemaTransform)
                PROVIDER.from(defaultConfiguration().setFormat(PARQUET).build()))
            .getProvider();
    assertTrue(parquetFormatProvider instanceof ParquetWriteSchemaTransformFormatProvider);

    FileWriteSchemaTransformFormatProvider xmlFormatProvider =
        ((FileWriteSchemaTransform) PROVIDER.from(defaultConfiguration().setFormat(XML).build()))
            .getProvider();
    assertTrue(xmlFormatProvider instanceof XmlWriteSchemaTransformFormatProvider);
  }