@Then("^the controller should respond with a ModelAndView containing:$")
public void the_controller_should_respond_with_a_ModelAndView_containing(List<MaVParams> mavparams) throws Throwable {
assertThat(chain).isNotNull();
RouterHandler handler = (RouterHandler) chain.getHandler();
ModelAndView mv = ha.handle(request, new MockHttpServletResponse(), handler);
for (MaVParams param : mavparams) {
assertThat(param.value).isEqualTo(mv.getModel().get(param.key).toString());