public void Setup() { _timerMock = new Mock <ITimer>(); _doorMock = new Mock <IDoor>(); _alarmMock = new Mock <IAlarm>(); _alarmMock.SetupGet(x => x.IsEnabled).Returns(true); _timedDoor = new TimedDoor(_timerMock.Object, _alarmMock.Object, _doorMock.Object); }
public DoorTimerAdapter(ITimedDoor timedDoor) { _timedDoor = timedDoor; }
public DoorTimerAdapter(ITimedDoor theDoor) { timedDoor = theDoor; }