Exemplo n.º 1
0
        public void BuildWithNameShouldReturnPlayerWithGivenName()
        {
            var playerName    = "Raphael";
            var playerBuilder = new PlayerBuilder(randomNumber);

            var player = playerBuilder
                         .WithName(playerName)
                         .Build();

            Assert.That(player.Name, Is.EqualTo(playerName));
        }