@Test
public void testDestroy() throws Exception {
DozerBeanMapper mapper = new DozerBeanMapper();
assertTrue(DozerInitializer.getInstance().isInitialized());
mapper.destroy();
assertFalse(DozerInitializer.getInstance().isInitialized());
}
private void assertCommon(Mapper mapper) throws Exception {
TestObjectPrime prime = mapper.map(testDataFactory.getInputGeneralMappingTestObject(), TestObjectPrime.class);