Package org.springframework.test.web.servlet.assertj
@NullMarked
package org.springframework.test.web.servlet.assertj
AssertJ support for MockMvc.
-
ClassDescriptionAbstractHttpServletRequestAssert<SELF extends AbstractHttpServletRequestAssert<SELF,
ACTUAL>, ACTUAL extends HttpServletRequest> Base AssertJ assertions that can be applied to anHttpServletRequest
.AbstractHttpServletResponseAssert<R extends HttpServletResponse,SELF extends AbstractHttpServletResponseAssert<R, SELF, ACTUAL>, ACTUAL> Base AssertJ assertions that can be applied to any object that provides anHttpServletResponse
.AbstractMockHttpServletRequestAssert<SELF extends AbstractMockHttpServletRequestAssert<SELF>>AssertJ assertions that can be applied toMockHttpServletRequest
.AbstractMockHttpServletResponseAssert<SELF extends AbstractMockHttpServletResponseAssert<SELF,ACTUAL>, ACTUAL> Extension ofAbstractHttpServletResponseAssert
forMockHttpServletResponse
.AssertJ assertions that can be applied tocookies
.AssertJ assertions that can be applied to a handler or handler method.MockMvcTester
provides support for testing Spring MVC applications withMockMvc
for server request handling using AssertJ.AssertJ assertions that can be applied to a model.Provides the result of an executed request usingMockMvcTester
that is meant to be used withassertThat
.AssertJ assertions that can be applied toMvcTestResult
.