bean1 = (SimpleBean) factory1.createBean();
assertNotNull(bean1);
assertEquals("String1", bean1.getString());
factory2 = (GenericBeanFactory) context2.getTarget();
bean2 = (SimpleBean) factory2.createBean();
assertNotNull(bean2);
assertEquals("String2", bean2.getString());
}
public void demandDependencyReinstall() throws Throwable