assertEquals(1, customMessageConverters.size());
ModuleTypeConversionPlugin plugin = context.getBean(ModuleTypeConversionPlugin.class);
CompositeMessageConverterFactory factory = (CompositeMessageConverterFactory) TestUtils.getPropertyValue(
plugin, "converterFactory");
CompositeMessageConverter converters = factory.newInstance(MimeType.valueOf("application/x-xd-foo"));
assertEquals(1, converters.getConverters().size());
assertTrue(converters.getConverters().iterator().next() instanceof StubPojoToStringConverter);
}