public void Setup()
 {
     _doorSimulator       = Substitute.For <IDoorSimulator>();
     _chargeControl       = Substitute.For <IChargeControl>();
     _displaySimulator    = Substitute.For <IDisplaySimulator>();
     _logFileSimulator    = Substitute.For <ILogFileSimulator>();
     _rfidReaderSimulator = Substitute.For <IRfidReaderSimulator>();
     _uut = new StationControl(_doorSimulator, _chargeControl, _displaySimulator, _logFileSimulator,
                               _rfidReaderSimulator);
 }
        public StationControl(IDoorSimulator door,
                              IChargeControl chargeControl,
                              IDisplaySimulator displaySimulator,
                              ILogFileSimulator logFileSimulator, IRfidReaderSimulator rfidReaderSimulator)
        {
            _door                = door;
            _charger             = chargeControl;
            _displaySimulator    = displaySimulator;
            _logFileSimulator    = logFileSimulator;
            _rfidReaderSimulator = rfidReaderSimulator;

            _door.DoorOpenEvent  += DoorOpened;
            _door.DoorCloseEvent += DoorClosed;
            _rfidReaderSimulator.RFIDDetectedEvent += RfidDetected;
        }