KunderaProxy proxy = factory.getProxy("personnel#1", PersonnelDTO.class, null, null, "1", delegator);
LazyInitializer li = proxy.getKunderaLazyInitializer();
((CglibLazyInitializer)li).setPersistenceDelegator(delegator);
li.setImplementation(proxy);
li.initialize();
Assert.assertNotNull(((CglibLazyInitializer)li).getTarget());
Assert.assertNotNull(((CglibLazyInitializer)li).getEntityName());
Assert.assertEquals("personnel#1",((CglibLazyInitializer)li).getEntityName());
Assert.assertNotNull(li.getPersistenceDelegator());
Assert.assertSame(delegator,li.getPersistenceDelegator());