org.hibernate.beanvalidation.tck.tests.metadata.BeanDescriptorTest.testIsBeanConstrainedDueToConstraintOnEntity (from beanvalidation-2.0)