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 givenResultHandlerto the actual MVC result.MockMvcTester.MockMultipartMvcRequestBuilder.assertThat()MockMvcTester.MockMvcRequestBuilder.assertThat()MvcTestResultAssert.debug()PrintMvcResultdetails toSystem.out.MvcTestResultAssert.debug(OutputStream stream) PrintMvcResultdetails 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 aModelAndViewis available with a view name equal to the given one.MvcTestResultAssert.matches(ResultMatcher resultMatcher) Verify that the actual MVC result matches the givenResultMatcher.