Uses of Interface
org.springframework.test.web.servlet.ResultActions
Packages that use ResultActions
Package
Description
Contains server-side support for testing Spring MVC applications.
Support for testing Spring MVC applications via
RestTestClient with
MockMvc for server request handling.-
Uses of ResultActions in org.springframework.test.web.servlet
Methods in org.springframework.test.web.servlet that return ResultActionsModifier and TypeMethodDescriptionResultActions.andDo(ResultHandler handler) Perform a general action.ResultActions.andExpect(ResultMatcher matcher) Perform an expectation.default ResultActionsResultActions.andExpectAll(ResultMatcher... matchers) Perform multiple expectations, with the guarantee that all expectations will be asserted even if one or more expectations fail with an exception.MockMvc.perform(RequestBuilder requestBuilder) Perform a request and return a type that allows chaining further actions, such as asserting expectations, on the result. -
Uses of ResultActions in org.springframework.test.web.servlet.client
Methods in org.springframework.test.web.servlet.client that return ResultActionsModifier and TypeMethodDescriptionstatic ResultActionsMockMvcWebTestClient.resultActionsFor(ExchangeResult exchangeResult) This method can be used to apply further assertions on a givenExchangeResultbased the state of the server response.