public ListStateDescriptor(String name, Class<T> elementTypeClass) {
        super(name, new ListTypeInfo<>(elementTypeClass), null);
    }
@Test
    void testListStateDescriptor() throws Exception {

        TypeSerializer<String> serializer =
                new KryoSerializer<>(String.class, new SerializerConfigImpl());

        ListStateDescriptor<String> descr = new ListStateDescriptor<>("testName", serializer);

        assertThat(descr.getName()).isEqualTo("testName");
        assertThat(descr.getSerializer()).isNotNull();
        assertThat(descr.getSerializer()).isInstanceOf(ListSerializer.class);
        assertThat(descr.getElementSerializer()).isNotNull();
        assertThat(descr.getElementSerializer()).isEqualTo(serializer);

        ListStateDescriptor<String> copy = CommonTestUtils.createCopySerializable(descr);

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

        assertThat(copy.getElementSerializer()).isNotNull();
        assertThat(copy.getElementSerializer()).isEqualTo(serializer);
    }