{
setupBeanMetaDatas();
ControllerContext context2 = assertInstall(1, "Name2");
SimpleBeanInstallsAware bean = (SimpleBeanInstallsAware) context2.getTarget();
assertNotNull(bean);
Set<ControllerState> states = bean.getStates();
assertNotNull(states);
assertEquals(4, states.size());
assertUninstall(context2.getName().toString());