Spring Boot - Testing Spring Boot Applications
You want to test a controller
OrderController that depends on a service OrderService. Using @WebMvcTest, how can you provide a mock OrderService to the controller during testing?