try {
mapper.map(new String(), null);
} catch (Throwable t) {
}
TestDataFactory testDataFactory = new TestDataFactory(NoProxyDataObjectInstantiator.INSTANCE);
TestObject to = testDataFactory.getInputGeneralMappingTestObject();
TestObjectPrime prime = mapper.map(to, TestObjectPrime.class);
TestObject source = mapper.map(prime, TestObject.class);
mapper.map(source, TestObjectPrime.class);
int numIters = 4000;
for (int i = 0; i < numIters; i++) {
SimpleObj src = testDataFactory.getSimpleObj();
mapper.map(src, SimpleObjPrime2.class);
}
mappingFiles = new ArrayList<String>();
mappingFiles.add("arrayToStringCustomConverter.xml");