public MapStateDescriptor(
            String name, TypeSerializer<UK> keySerializer, TypeSerializer<UV> valueSerializer) {
        super(name, new MapSerializer<>(keySerializer, valueSerializer), null);
    }
@Test
    void testMapStateDescriptor() throws Exception {

        TypeSerializer<Integer> keySerializer =
                new KryoSerializer<>(Integer.class, new SerializerConfigImpl());
        TypeSerializer<String> valueSerializer =
                new KryoSerializer<>(String.class, new SerializerConfigImpl());

        MapStateDescriptor<Integer, String> descr =
                new MapStateDescriptor<>("testName", keySerializer, valueSerializer);

        assertThat(descr.getName()).isEqualTo("testName");
        assertThat(descr.getSerializer()).isNotNull();
        assertThat(descr.getSerializer()).isInstanceOf(MapSerializer.class);
        assertThat(descr.getKeySerializer()).isNotNull();
        assertThat(descr.getKeySerializer()).isEqualTo(keySerializer);
        assertThat(descr.getValueSerializer()).isNotNull();
        assertThat(descr.getValueSerializer()).isEqualTo(valueSerializer);

        MapStateDescriptor<Integer, String> copy = CommonTestUtils.createCopySerializable(descr);

        assertThat(copy.getName()).isEqualTo("testName");
        assertThat(copy.getSerializer()).isNotNull();
        assertThat(copy.getSerializer()).isInstanceOf(MapSerializer.class);

        assertThat(copy.getKeySerializer()).isNotNull();
        assertThat(copy.getKeySerializer()).isEqualTo(keySerializer);
        assertThat(copy.getValueSerializer()).isNotNull();
        assertThat(copy.getValueSerializer()).isEqualTo(valueSerializer);
    }