public void testCreateAccessorClassOfQStringClassLoader() {
ClassAccessor accessor = ClassAccessor.create("com.j2speed.accessor.separate.PackagePrivateObject", getClass().getClassLoader());
Object object = accessor.constructor(String.class).newInstance("Alex");
ClassAccessor innerAccessor = ClassAccessor.create(object.getClass(), "Inner", getClass().getClassLoader());
Date expectedDate = new Date();
AccessInner inner = innerAccessor.constructor(object, Date.class).newProxy(AccessInner.class, expectedDate);
assertSame(expectedDate, inner.getDate());
}