public void GivenIAmOnTheGroundFloor() { _elevatorUser = new ElevatorUser() { CurrentFloor = 0 }; }
public void GivenUserWantsToTakeElevatorFromFloorToFloor(string userName, int currentFloor, int goingTo) { var user = new ElevatorUser { Name = userName, CurrentFloor = currentFloor, GoingTo = goingTo }; user.CallElevator(elevator); user.RequestFloor(elevator); }
public void GivenIAmOnTheXFloor(int userLevel) { user = new ElevatorUser { CurrentFloor = userLevel }; }
public UseElevatorV3Steps() { _elevatorBox = Substitute.ForPartsOf <ElevatorBox>(); _elevatorUser = new ElevatorUser(); }