示例#1
0
        public void DoorOpen_DoorOpenIsCalled_StateEqualsDoorClosed_ClosedCalled()
        {
            _uut.DoorOpen();
            FakeDoor doorCheck = (FakeDoor)door;

            Assert.That(doorCheck.CloseNo, Is.EqualTo(1));
        }
示例#2
0
        public void RequestEntry_RequestEntryCalled_IdEqualsTrue_OpenCalled()
        {
            _uut.RequestEntry(1);
            FakeDoor doorCheck = (FakeDoor)door;

            Assert.That(doorCheck.OpenNo, Is.EqualTo(1));
        }