@Test
public void testMultipleSerializersInstalled_parentHasSerializer() throws Exception {

  final class ComparableSerializer extends DefaultValueSerializer<Comparable<?>, Integer> {}
  final class CharSequenceSerializer extends DefaultValueSerializer<CharSequence, Long> {}
  final class StringSerializer extends DefaultValueSerializer<String, Float> {}
  config.getSerializationConfig().addSerializationConfig(ComparableSerializer.class);
  config.getSerializationConfig().addSerializationConfig(CharSequenceSerializer.class);
  config.getSerializationConfig().addSerializationConfig(StringSerializer.class);
  validator.validate(config);
}