public void Setup() { _alarmFake = Substitute.For <IAlarm>(); _doorFake = Substitute.For <IDoor>(); _entryNotificationFake = Substitute.For <IEntryNotification>(); _userValidationFake = Substitute.For <IUserValidation>(); _doorControl = new DoorControl.DoorControl(_alarmFake, _doorFake, _entryNotificationFake, _userValidationFake); }
public void Setup() { _alarmFake = new AlarmFake(); _doorFake = new DoorFake(); _entryNotificationFake = new EntryNotificationFake(); _userValidationFake = new UserValidationFake(); _doorControl = new DoorControl.DoorControl(_alarmFake, _doorFake, _entryNotificationFake, _userValidationFake); }