@Test
public void testValueStateDescriptorAutoSerializer() throws Exception {

	ListStateDescriptor<String> descr =
			new ListStateDescriptor<String>("testName", String.class);
	ListStateDescriptor<String> copy = CommonTestUtils.createCopySerializable(descr);
	assertEquals("testName", copy.getName());
	assertNotNull(copy.getSerializer());
	assertTrue(copy.getSerializer() instanceof ListSerializer);
	assertNotNull(copy.getElementSerializer());
	assertEquals(StringSerializer.INSTANCE, copy.getElementSerializer());
}