interface ResultActions
Allows applying actions, such as expectations, on the result of an executed request.
See static factory methods in org.springframework.test.web.servlet.result.MockMvcResultMatchers and org.springframework.test.web.servlet.result.MockMvcResultHandlers.
Author
Rossen Stoyanchev
Since
3.2
abstract fun andDo(handler: ResultHandler): ResultActions
Perform a general action. Example
|
|
abstract fun andExpect(matcher: ResultMatcher): ResultActions
Perform an expectation. Example
|
|
abstract fun andReturn(): MvcResult
Return the result of the executed request for direct access to the results. |