Injected injected = getBean(Injected.class);
assertNotNull(injected);
assertNotNull(injected.injected);
String value = injected.injected.getValue();
assertEquals(1, scopingContext.getEntries().size());
ScopedKey key = scopingContext.getEntries().keySet().iterator().next();
assertEquals(Scope.REQUEST, key.getScope());
Bean scoped = (Bean)scopingContext.getEntries().get(key).get();
assertEquals(scoped.getValue(), value);
assertSame(scoped, BeanProvider.bean);
}
finally {