WebSocketController { @MessageMapping("/location") void addLocation(PortableLocation request) { locationService.createLocation( new Coordinates(request.getLatitude(), request.getLongitude()), request.getDescription()); } @Autowired  WebSocketController(
            RouteListener routeListener,
            RegionService regionService,
            LocationService locationService,
            VehicleService vehicleService,
            DemoService demoService,
            ApplicationEventPublisher eventPublisher);   }
@Test void addLocation() { Coordinates coords = Coordinates.valueOf(0.0, 1.0); String description = "new location"; PortableLocation request = new PortableLocation(321, coords.latitude(), coords.longitude(), description); webSocketController.addLocation(request); verify(locationService).createLocation(coords, description); }