Uses of Class
org.springframework.test.web.servlet.assertj.MvcTestResultAssert
-
Uses of MvcTestResultAssert in org.springframework.test.web.servlet.assertj
Modifier and TypeMethodDescriptionMvcTestResultAssert.apply
(ResultHandler resultHandler) Apply the givenResultHandler
to the actual MVC result.MockMvcTester.MockMvcRequestBuilder.assertThat()
MvcTestResultAssert.doesNotHaveUnresolvedException()
Verify that the request did not fail with an unresolved exception.MvcTestResultAssert.hasUnresolvedException()
Verify that the request failed with an unresolved exception.MvcTestResultAssert.hasViewName
(String viewName) Verify that aModelAndView
is available with a view name equal to the given one.MvcTestResultAssert.matches
(ResultMatcher resultMatcher) Verify that the actual MVC result matches the givenResultMatcher
.