@Test
public void testConversionService() {

    Collection<?> source = Arrays.asList(new Person("Name", 30));
    Assert.assertFalse(conversionService.canConvert(Person.class, String.class));
    Assert.assertTrue(conversionService.canConvert(source.getClass(), String.class));
    try {
        conversionService.convert(source, String.class);
    } catch (ConversionFailedException e) {
        // Expected as Person can't be converted to a string according to
        // Spring's FallbackObjectToStringConverter, see javadoc for:
        //
        //   org.springframework.core.convert.support.FallbackObjectToStringConverter
        //
        Assert.assertTrue(e.getCause() instanceof ConverterNotFoundException);
    }
    Assert.assertNull(converter.convertTo(String.class, source));
}