示例#1
0
        public void GamePlay_Team_One_Wins()
        {
            //Arrange
            _determineWinner.Setup(w => w.ForPoint())
            .Returns(Team.One);

            //Act
            var result = _target.Play();

            //Assert
            Assert.AreEqual(Team.One, result);
            Assert.AreEqual(5, _target.GetPointScores().Count());
        }