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());
// map back
Moped mopedDest = mapper.map(bus, Moped.class);
assertEquals("defaultValueSetByCustomConverter", mopedDest.getName());
}