assertEquals("String1", bean2.getString());
}
public void propertyDependencyWrongOrder() throws Throwable
{
AbstractBeanMetaData metaData1 = new AbstractBeanMetaData("Name1", SimpleBeanImpl.class.getName());
metaData1.addProperty(new AbstractPropertyMetaData("string", "String1"));
GenericBeanFactoryMetaData metaData2 = new GenericBeanFactoryMetaData("Name2", SimpleBeanImpl.class.getName());
metaData2.addBeanProperty(new AbstractPropertyMetaData("string", new AbstractDependencyValueMetaData("Name1", "string")));
setBeanMetaDatas(new BeanMetaData[] { metaData1, metaData2 });