public void TestSearchPlayer()
        {
            QueryDB queryDB = new QueryDB();
            Player  player  = new Player();

            player = queryDB.SearchPlayer("MariaFer13");
            Assert.AreEqual("MariaFer13", player.nickName);
        }
        public void TestErrorSearchPlayer()
        {
            QueryDB queryDB = new QueryDB();
            Player  player  = new Player();

            player = queryDB.SearchPlayer("MarthaStart2563");
            Assert.AreEqual("MarthaStart2563", player.nickName);
        }
        /// <summary>
        /// Search if the player is registered in the database
        /// </summary>
        /// <param name="nickname">Player's nickname to search.</param>
        public void SearchPlayer(string nickname)
        {
            QueryDB       consult       = new QueryDB();
            Player        player        = consult.SearchPlayer(nickname);
            ServicePlayer servicePlayer = new ServicePlayer
            {
                NickName      = player.nickName,
                NamePlayer    = player.namePlayer,
                LastName      = player.lastName,
                ScoreObtained = player.scoreObtained,
                StatusPlayer  = player.statusPlayer
            };

            OperationContext.Current.GetCallbackChannel <IAccountCallback>().AccountResponsePlayer(servicePlayer);
        }