@Override
  public Serde<List<?>> getSerde(
      final PersistenceSchema schema,
      final Map<String, String> formatProperties,
      final KsqlConfig ksqlConfig,
      final Supplier<SchemaRegistryClient> srClientFactory,
      final boolean isKey) {
    FormatProperties.validateProperties(name(), formatProperties, getSupportedProperties());
    SerdeUtils.throwOnUnsupportedFeatures(schema.features(), supportedFeatures());

    if (!schema.columns().isEmpty()) {
      throw new KsqlException("The '" + NAME
          + "' format can only be used when no columns are defined. Got: " + schema.columns());
    }

    return new KsqlVoidSerde<>();
  }
@Test
  public void shouldReturnVoidSerde() {
    // When:
    final Serde<List<?>> serde = format.getSerde(schema, formatProps, ksqlConfig, srClientFactory, false);

    // Then:
    assertThat(serde, instanceOf(KsqlVoidSerde.class));
  }