public static SerdeFeatures buildInternal(final Format keyFormat) {
    final ImmutableSet.Builder<SerdeFeature> builder = ImmutableSet.builder();

    getKeyWrapping(true, keyFormat)
        .ifPresent(builder::add);

    return SerdeFeatures.from(builder.build());
  }
@Test
  public void shouldNotSetUnwrappedKeysIInternalTopicHasfKeyFormatsSupportsOnlyUnwrapping() {
    // When:
    final SerdeFeatures result = SerdeFeaturesFactory.buildInternal(KAFKA);

    // Then:
    assertThat(result.findAny(SerdeFeatures.WRAPPING_FEATURES), is(Optional.empty()));
  }