@AutoConfigureMockMvc
A test annotation that adds a MockMvc bean to the test's application context. Tests use it to send fake requests without starting a real server.
A test annotation that adds a MockMvc bean to the test's application context. Tests use it to send fake requests without starting a real server.