public void SetNewDefuseAttempt_ShouldSetCurrentDefuseAttempt() { // When _defusingState.SetNewDefuseAttempt(_currentDefuseAttempt); // Then Assert.That(_defusingState.CurrentDefuseAttempt, Is.EqualTo(_currentDefuseAttempt)); }
public virtual void Set() { var nbBombsDefused = _defusingState.NbBombsDefused; var defuseAttempt = new DefuseAttempt(_random, _defuserCounter, _allBombs, _allPlayers.GetAll(), nbBombsDefused); _defusingState.SetNewDefuseAttempt(defuseAttempt); _newDefuseAttemptSetListener.OnNewDefuseAttemptSet(defuseAttempt); }