public void testTargetPropertyAnnotationCustomConfig() throws Exception
{
Method method = ReflectionUtils.getMethod(ConstraintSourceUtils.class, "getTargetPropertyMetaData",
PropertyStorage.class, Class.class, String.class);
Assert.assertNotNull(method);
PropertyStorage storage = ReflectionUtils.getPropertyStorage();
Annotation target = (Annotation) ReflectionUtils.invokeMethodOfClass(ConstraintSourceUtils.class, method,
storage, ConstraintSourceAwareBean.class, "property4");
Assert.assertEquals("test2", ExtValAnnotationUtils.extractValueOf(target, Object.class));