use of cn.taketoday.web.view.ModelAndView in project today-infrastructure by TAKETODAY.
the class ParameterizableViewControllerTests method viewName.
@Test
public void viewName() throws Exception {
this.controller.setViewName("view");
ModelAndView modelAndView = this.controller.handleRequest(this.context);
assertThat(modelAndView.getViewName()).isEqualTo("view");
}
Aggregations