Beispiel #1
0
        public void PutPassengerInSmartFortwo(CrewMember passenger)
        {
            if (SmartFortwo.IsNull())
            {
                throw new Exception(_nullSmartFortwoException);
            }

            SmartFortwo.EnterPassenger(passenger);
        }
Beispiel #2
0
        public void PutBothInSmartFortwo(CrewMember driver, CrewMember passenger)
        {
            if (SmartFortwo.IsNull())
            {
                throw new Exception(_nullSmartFortwoException);
            }

            SmartFortwo.EnterDriver(driver);
            SmartFortwo.EnterPassenger(passenger);
        }