Package | Description |
---|---|
org.springframework.test.web.servlet |
Contains server-side support for testing Spring MVC applications.
|
Modifier and Type | Method and Description |
---|---|
ResultActions |
ResultActions.andDo(ResultHandler handler)
Perform a general action.
|
ResultActions |
ResultActions.andExpect(ResultMatcher matcher)
Perform an expectation.
|
ResultActions |
MockMvc.perform(RequestBuilder requestBuilder)
Perform a request and return a type that allows chaining further
actions, such as asserting expectations, on the result.
|