@Test
public void test()
{
InjectionAnnotationReader c = new InjectionAnnotationReader();
ActionWithRequest action = new ActionWithRequest();
c.readAnnotations(action.getClass());
Map<String, InjectionWrapper> inputs = c.getInjectionMap();
HttpServletRequest request = createMock(HttpServletRequest.class);
replay(request);
InjectionWrapper inputWrapper = inputs.get("request");
ActionContext injectionContext = new TestContextImpl(request);
inputWrapper.inject(action, injectionContext);
verify(request);
assert action.getRequest() != null;
assert action.getRequest() == request;
}