Package org.springframework.test.web.servlet.assertj
@NonNullApi
@NonNullFields
package org.springframework.test.web.servlet.assertj
AssertJ support for MockMvc.
-
ClassDescriptionAbstractHttpServletRequestAssert<SELF extends AbstractHttpServletRequestAssert<SELF,
ACTUAL>, ACTUAL extends HttpServletRequest> Base AssertJassertions
that can be applied to anHttpServletRequest
.AbstractHttpServletResponseAssert<R extends HttpServletResponse,SELF extends AbstractHttpServletResponseAssert<R, SELF, ACTUAL>, ACTUAL> Base AssertJassertions
that can be applied to any object that provides anHttpServletResponse
.AbstractMockHttpServletRequestAssert<SELF extends AbstractMockHttpServletRequestAssert<SELF>>AssertJassertions
that can be applied toMockHttpServletRequest
.AbstractMockHttpServletResponseAssert<SELF extends AbstractMockHttpServletResponseAssert<SELF,ACTUAL>, ACTUAL> Extension ofAbstractHttpServletResponseAssert
forMockHttpServletResponse
.MockMvc
variant that tests Spring MVC exchanges and provides fluent assertions usingAssertJ
.AMvcResult
that additionally supports AssertJ style assertions.AssertJassertions
that can be applied tocookies
.AssertJassertions
that can be applied to a handler or handler method.AssertJassertions
that can be applied to a model.AssertJassertions
that can be applied toMvcResult
.AssertJassertions
that can be applied to the response body.