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

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

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