Uses of Class
org.springframework.test.web.servlet.assertj.MvcResultAssert
Packages that use MvcResultAssert
-
Uses of MvcResultAssert in org.springframework.test.web.servlet.assertj
Methods in org.springframework.test.web.servlet.assertj that return MvcResultAssertModifier and TypeMethodDescriptionMvcResultAssert.apply(ResultHandler resultHandler) Apply the givenResultHandlerto the actual mvc result.MvcResultAssert.doesNotHaveUnresolvedException()Verify that the request has not failed with an unresolved exception.MvcResultAssert.hasUnresolvedException()Verify that the request has failed with an unresolved exception.MvcResultAssert.hasViewName(String viewName) Verify that aModelAndViewis available with a view equals to the given one.MvcResultAssert.matches(ResultMatcher resultMatcher) Verify that the actual mvc result matches the givenResultMatcher.