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