Uses of Class
org.springframework.test.web.servlet.assertj.MvcTestResultAssert
Packages that use MvcTestResultAssert
-
Uses of MvcTestResultAssert in org.springframework.test.web.servlet.assertj
Methods in org.springframework.test.web.servlet.assertj that return MvcTestResultAssertModifier and TypeMethodDescriptionMvcTestResultAssert.apply
(ResultHandler resultHandler) Apply the givenResultHandler
to the actual MVC result.MockMvcTester.MockMultipartMvcRequestBuilder.assertThat()
MockMvcTester.MockMvcRequestBuilder.assertThat()
MvcTestResultAssert.debug()
PrintMvcResult
details toSystem.out
.MvcTestResultAssert.debug
(OutputStream stream) PrintMvcResult
details to the suppliedOutputStream
.MvcTestResultAssert.doesNotHaveFailed()
Verify that the request has not failed.MvcTestResultAssert.hasFailed()
Verify that the request has failed.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
.