public void DrawIsExecutedWhenConsensusIsReached() { var sut = new GameSessionService("asdfgh", _gameplayMock.Object); var state = sut.PlayerWantsToDraw(1); _gameplayMock.Verify(g => g.Draw(), Times.Never); Assert.IsFalse(state.DrawExecuted); Assert.AreEqual(1, state.DrawRequestedByPlayer); state = sut.PlayerWantsToDraw(2); _gameplayMock.Verify(g => g.Draw(), Times.Once); Assert.IsTrue(state.DrawExecuted); }