Exemplo n.º 1
0
        public void GetPlayerByNameTest_ShouldReturnCorrectName()
        {
/*            _player.PlayerName = "Bobby";
            _player.MagicPower = 51;
*/            _repo.AddPlayerToDirectory(_player);

/*            string p1Name = _player.PlayerName;
*/
            _repo.GetPlayerByName(_player.PlayerName);

            Assert.AreEqual("Bobby", _player.PlayerName);

            Console.WriteLine(_player.PlayerName);

            Console.WriteLine(_player.MagicPower);
        }