@Test
public void testSimpleCustomConverter_ImplicitMappingWithInheritance() throws Exception {
mapper = getMapper("simpleCustomConverter.xml");
Car car = newInstance(Car.class);
Van van = mapper.map(car, Van.class);
assertEquals("defaultValueSetByCustomConverter", van.getName());
// map back
Car carDest = mapper.map(van, Car.class);
assertEquals("defaultValueSetByCustomConverter", carDest.getName());
// test that we get customconverter even though it wasn't defined in the mapping file
Moped moped = newInstance(Moped.class);
Bus bus = mapper.map(moped, Bus.class);
assertEquals("defaultValueSetByCustomConverter", bus.getName());