public void unwrapValidatedValueGivenOnField() {
PropertyMetaData property = beanMetaDataManager.getBeanMetaData( Customer.class ).getMetaDataFor( "name" );
assertEquals( property.unwrapMode(), UnwrapMode.UNWRAP );
property = beanMetaDataManager.getBeanMetaData( Customer.class ).getMetaDataFor( "age" );
assertEquals( property.unwrapMode(), UnwrapMode.AUTOMATIC );
}
@Test
public void unwrapValidatedValueGivenOnProperty() {
PropertyMetaData property = beanMetaDataManager.getBeanMetaData( Customer.class ).getMetaDataFor( "firstName" );