@Override
    @Deprecated
    public <VR> KStream<K, VR> transformValues(final org.apache.kafka.streams.kstream.ValueTransformerSupplier<? super V, ? extends VR> valueTransformerSupplier,
                                               final String... stateStoreNames) {
        Objects.requireNonNull(valueTransformerSupplier, "valueTransformerSupplier can't be null");
        return doTransformValues(
            toValueTransformerWithKeySupplier(valueTransformerSupplier),
            NamedInternal.empty(),
            stateStoreNames);
    }
@Test
    @SuppressWarnings("deprecation")
    public void shouldNotAllowBadTransformerSupplierOnTransformValuesWithNamed() {
        final org.apache.kafka.streams.kstream.ValueTransformer<String, String> transformer = valueTransformerSupplier.get();
        final IllegalArgumentException exception = assertThrows(
                IllegalArgumentException.class,
            () -> testStream.transformValues(() -> transformer, Named.as("transformer"))
        );
        assertThat(exception.getMessage(), containsString("#get() must return a new object each time it is called."));
    }