ControllerContext context2 = assertInstall(1, "Name2", ControllerState.NOT_INSTALLED);
ControllerContext context1 = assertInstall(0, "Name1");
assertEquals(ControllerState.INSTALLED, context2.getState());
GenericBeanFactory factory1 = (GenericBeanFactory) context1.getTarget();
SimpleBean bean1 = (SimpleBean) factory1.createBean();
assertEquals("String1", bean1.getString());
GenericBeanFactory factory2 = (GenericBeanFactory) context2.getTarget();
SimpleBean bean2 = (SimpleBean) factory2.createBean();
assertNotNull(bean2);