public void testPropertyAnnotations() throws Throwable
{
BeanMetaDataBuilder builder = BeanMetaDataBuilder.createBuilder("test");
builder.addPropertyMetaData("ci", builder.createContextualInject());
builder.addPropertyAnnotation("ci", new SimpleAnnotationImpl());
BeanMetaData bmd = builder.getBeanMetaData();
Set<PropertyMetaData> properties = bmd.getProperties();
assertNotNull(properties);
assertEquals(1, properties.size());