@Test
public void unwrapValidatedValueGivenOnPropertyInSuperClass() {
PropertyMetaData property = beanMetaDataManager.getBeanMetaData( RetailCustomer.class )
.getMetaDataFor( "firstName" );
assertEquals( property.unwrapMode(), UnwrapMode.UNWRAP );
}
@TestForIssue( jiraKey = "HV-925")
@Test(expectedExceptions = ConstraintDeclarationException.class, expectedExceptionsMessageRegExp = "HV000189.*")
public void inconsistent_unwrap_configuration_between_field_and_getter_throws_exception() {