@Test
public void testGetSerializers() {

  serializationConfig.addSerializationConfig(TestSerializer2.class);
  serializationConfig.addSerializationConfig(TestSerializer4.class);
  config.setSerializer(TestSerializer1.class);
  config.setRepeatedItemSerializer(TestSerializer3.class);
  assertEquals(Collections.singletonList(TestSerializer1.class), config.getSerializers());
  assertEquals(Collections.singletonList(TestSerializer3.class),
      config.getRepeatedItemSerializers());
}