class VehicleService {

    public void createVehicle() {
        Vehicle vehicle = vehicleRepository.createVehicle(DEFAULT_VEHICLE_CAPACITY);
        addVehicle(vehicle);
    }

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

}