public void ShouldReturnClosedDoorOnStateChange() { //assign IDoor openDoor = new OpenDoor(); //act IDoor closedDoor = openDoor.ChangeState(); //assert closedDoor.IsOpen().Should().BeFalse(); }
public void ShouldShowDoorAs_Open() { //assign IDoor door = new OpenDoor(); //act bool isOpen = door.IsOpen(); //assert isOpen.Should().BeTrue(); }