@Test void clear() { webSocketController.clear(); verify(locationService).removeAll(); verify(vehicleService).removeAll(); }
@MessageMapping("/clear") void clear() { locationService.removeAll(); vehicleService.removeAll(); }
WebSocketController { @MessageMapping("/clear") void clear() { locationService.removeAll(); vehicleService.removeAll(); } }
WebSocketController { @MessageMapping("/clear") void clear() { locationService.removeAll(); vehicleService.removeAll(); } @Autowired  WebSocketController(
            RouteListener routeListener,
            RegionService regionService,
            LocationService locationService,
            VehicleService vehicleService,
            DemoService demoService,
            ApplicationEventPublisher eventPublisher); }
WebSocketController { @MessageMapping("/clear") void clear() { locationService.removeAll(); vehicleService.removeAll(); } @Autowired  WebSocketController(
            RouteListener routeListener,
            RegionService regionService,
            LocationService locationService,
            VehicleService vehicleService,
            DemoService demoService,
            ApplicationEventPublisher eventPublisher);  }
WebSocketController { @MessageMapping("/clear") void clear() { locationService.removeAll(); vehicleService.removeAll(); } @Autowired  WebSocketController(
            RouteListener routeListener,
            RegionService regionService,
            LocationService locationService,
            VehicleService vehicleService,
            DemoService demoService,
            ApplicationEventPublisher eventPublisher);   }