org.hibernate.beanvalidation.tck.tests.metadata.ElementDescriptorTest.testHasConstraints (from beanvalidation-2.0)