metadataProvider = new AnnotationMetadataProvider( new JavaReflectionManager(), configContext );
}
@Test
public void testIdProperty() {
PropertyDescriptor propertyDescriptor = getPropertyDescriptor( Fubar.class, "id" );
String propertyName = propertyDescriptor.getName();
assertEquals( "Wrong property name", "id", propertyName );
assertTrue(
"This property should should host the id field",
propertyDescriptor.isId()
);
}