}
@Test
public void testLongToDateConverter() {
MapperFactory factory = MappingUtil.getMapperFactory();
factory.getConverterFactory().registerConverter(new LongToDateConverter());
MapperFacade mapper = factory.getMapperFacade();
long now = System.currentTimeMillis();
Date date = mapper.map(now, Date.class);
Assert.assertEquals(now, date.getTime());