public void testTargetPropertyIdAnnotationCustomConfig() throws Exception
{
Method method = ReflectionUtils.getMethod(ConstraintSourceUtils.class, "getTargetPropertyMetaData",
PropertyStorage.class, Class.class, String.class);
Assert.assertNotNull(method);
PropertyStorage propertyStorage = ReflectionUtils.getPropertyStorage();
Annotation target = (Annotation) ReflectionUtils.invokeMethodOfClass(ConstraintSourceUtils.class, method,
propertyStorage, ConstraintSourceAwareBean.class, "property6");
Assert.assertEquals(CustomConstraintSource.class.getName(), ((Class) ExtValAnnotationUtils.extractValueOf(target,
Object.class)).getName());