@Test void removeLocation() { webSocketController.removeLocation(9L); verify(locationService).removeLocation(9); }
@MessageMapping("/location/{id}/delete") void removeLocation(@DestinationVariable long id) { locationService.removeLocation(id); }
WebSocketController { @MessageMapping("/location/{id}/delete") void removeLocation(@DestinationVariable long id) { locationService.removeLocation(id); } }
WebSocketController { @MessageMapping("/location/{id}/delete") void removeLocation(@DestinationVariable long id) { locationService.removeLocation(id); } @Autowired  WebSocketController(
            RouteListener routeListener,
            RegionService regionService,
            LocationService locationService,
            VehicleService vehicleService,
            DemoService demoService,
            ApplicationEventPublisher eventPublisher); }
WebSocketController { @MessageMapping("/location/{id}/delete") void removeLocation(@DestinationVariable long id) { locationService.removeLocation(id); } @Autowired  WebSocketController(
            RouteListener routeListener,
            RegionService regionService,
            LocationService locationService,
            VehicleService vehicleService,
            DemoService demoService,
            ApplicationEventPublisher eventPublisher);  }
WebSocketController { @MessageMapping("/location/{id}/delete") void removeLocation(@DestinationVariable long id) { locationService.removeLocation(id); } @Autowired  WebSocketController(
            RouteListener routeListener,
            RegionService regionService,
            LocationService locationService,
            VehicleService vehicleService,
            DemoService demoService,
            ApplicationEventPublisher eventPublisher);   }