public Object newInstance(Class<?>[] interfacesToProxy, final Object target) {
        Enhancer enhancer = new Enhancer();
        enhancer.setInterfaces(interfacesToProxy);
        enhancer.setCallback(new Dispatcher() {
            public Object loadObject() {
                return target;
            }
        });

        return enhancer.create();
    }
Quick and dirty class used to create test data objects that are wrapped with a proxy.  Right now use CGLIB to proxy
the data objects since this is probably the most typical usage of proxied data objects(Hibernate lazy loading).
core/src/test/java/com/github/dozermapper/core/functional_tests/runner/ProxyDataObjectInstantiator.java