class VehicleService {

    public void addVehicle(Vehicle vehicle) {
        optimizer.addVehicle(Objects.requireNonNull(vehicle));
    }

    @Autowired public  VehicleService(RouteOptimizer optimizer, VehicleRepository vehicleRepository);

}