Skip to content

Improve MockMvc samples in reference to show where static imports come from #26311

@xenoterracide

Description

@xenoterracide

Reading https://docs.spring.io/spring-framework/docs/current/reference/html/testing.html#spring-mvc-test-server-performing-requests it is not obvious where post(...) and the like methods start from. With the apache http-client on my classpath my IDE wants to suggest that they come from that RequestBuilder. I did ultimately find an example with the location on the javadoc, of course the MockMvc javadoc, which is not where I'd have looked for this.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions