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