expect(wac.getBean("resolver_name")).andReturn(viewResolver);
expect(request.getAttribute(Globals.LOCALE_KEY)).andReturn(locale);
expect(viewResolver.resolveViewName("view_name", locale)).andReturn(view);
replayMocks();
ViewAdapter adapter = handler.getActionForward(context, new ModelAndView("view_name", model));
assert adapter instanceof SpringRenderingViewAdapter;
SpringRenderingViewAdapter va = (SpringRenderingViewAdapter) adapter;
assert va.getModel().equals(model);
assert va.getView() == view;