ControllerContext context2 = assertInstall(1, "aspect", ControllerState.INSTANTIATED);
assertInstall(0, "simple");
assertEquals(ControllerState.INSTALLED, context2.getState());
GenericBeanFactory factory = (GenericBeanFactory) context2.getTarget();
SimpleBeanWithDependency bean = (SimpleBeanWithDependency) factory.createBean();
assertEquals("factory", bean.getString());
assertEquals("String1", bean.getSimpleBean().getString());
}
public void genericBeanFactoryDependencyWrongOrder()