Esempio n. 1
0
        public void Inflate(string licenceNumber)
        {
            Vehicle vehicle = GetVehicle(licenceNumber);

            if (vehicle != null)
            {
                vehicle.InflateTires();
            }
            else
            {
                throw new NoSuchVehicleException(licenceNumber);
            }
        }