public void DoorOpen_DoorOpenIsCalled_StateEqualsDoorClosed_ClosedCalled() { _uut.DoorOpen(); FakeDoor doorCheck = (FakeDoor)door; Assert.That(doorCheck.CloseNo, Is.EqualTo(1)); }
public void RequestEntry_RequestEntryCalled_IdEqualsTrue_OpenCalled() { _uut.RequestEntry(1); FakeDoor doorCheck = (FakeDoor)door; Assert.That(doorCheck.OpenNo, Is.EqualTo(1)); }