public void Init_ShouldStartNewDefusingTimer() { // When _initDefusing.Init(); // Then _defusingState .Received() .StartNewTimer(); }
public void Try_ShouldIncrementBombsDefused_WhenPlayerIsDefuser() { // Given var player = new Player("Player"); _defusingState.IsCurrentAttemptDefuser(player) .Returns(true); // When _tryToDefuse.Try(player); // Then _defusingState .Received() .IncrementBombsDefused(); }