public void testMapSharedEnum() {
MapperFactory factory = MappingUtil.getMapperFactory();
MapperFacade mapper = factory.getMapperFacade();
Book book = createBook();
BookDTOWithSameEnum mappedBook = mapper.map(book, BookDTOWithSameEnum.class);
Assert.assertEquals(book.getTitle(), mappedBook.getTitle());
Assert.assertEquals(book.getFormat(), mappedBook.getFormat());
}