assertNotNull("BeanClass is null", beanClass);
assertNotSame("ClassLoaders should be different..", getClass().getClassLoader(), beanClass.getClassLoader());
assertSame("BeanClass ClassLoader incorrect", beanClass.getClassLoader(), loader);
// now start the test
MappedPropertyDescriptor descriptor = null;
try {
descriptor = new MappedPropertyDescriptor("anyMapped", beanClass);
}
catch (IntrospectionException e) {
// this would be fine as well
}