use of org.springframework.web.bind.support.DefaultSessionAttributeStore in project spring-framework by spring-projects.
the class ModelFactoryOrderingTests method setup.
@Before
public void setup() {
this.sessionAttributeStore = new DefaultSessionAttributeStore();
this.webRequest = new ServletWebRequest(new MockHttpServletRequest(), new MockHttpServletResponse());
this.mavContainer = new ModelAndViewContainer();
this.mavContainer.addAttribute("methods", new ArrayList<String>());
}
use of org.springframework.web.bind.support.DefaultSessionAttributeStore in project spring-framework by spring-projects.
the class ModelFactoryTests method setUp.
@Before
public void setUp() throws Exception {
this.webRequest = new ServletWebRequest(new MockHttpServletRequest());
this.attributeStore = new DefaultSessionAttributeStore();
this.attributeHandler = new SessionAttributesHandler(TestController.class, this.attributeStore);
this.controller = new TestController();
this.mavContainer = new ModelAndViewContainer();
}
Aggregations