ApiParameterConfig { public List<Class<? extends Transformer<?, ?>>> getSerializers() { if (serializer != null) { return Collections.<Class<? extends Transformer<?, ?>>>singletonList(serializer); } else { return tryFindDefaultSerializers(getType()); } } ApiParameterConfig(ApiMethodConfig apiMethodConfig, String name, String description,
      boolean nullable, String defaultValue, TypeToken<?> type, TypeLoader typeLoader);  ApiParameterConfig(ApiParameterConfig original, ApiMethodConfig apiMethodConfig); @Override boolean equals(Object o); @Override int hashCode(); ApiMethodConfig getApiMethodConfig(); String getName(); String getDescription(); boolean getNullable(); String getDefaultValue(); TypeToken<?> getType(); TypeToken<?> getRepeatedItemType(); boolean isRepeated(); boolean isEnum(); List<Class<? extends Transformer<?, ?>>> getSerializers(); void setSerializer(Class<? extends Transformer<?, ?>> serializer); List<Class<? extends Transformer<?, ?>>> getRepeatedItemSerializers(); void setRepeatedItemSerializer(Class<? extends Transformer<?, ?>> repeatedItemSerializer); TypeToken<?> getSchemaBaseType(); TypeToken<?> getRepeatedItemSerializedType(); Classification getClassification();  }
@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()); }