public void SendEmailTest()
        {
            Services services = new Services();

            IConfirmationServices.Jugador jugador = new IConfirmationServices.Jugador();

            jugador.Correo = "*****@*****.**";
            jugador.Código = "663666";
            Assert.AreEqual(1, services.SendEmail(jugador));
        }
        public void NewCodeTestNoConection()
        {
            Services services = new Services();

            IConfirmationServices.Jugador jugador = new IConfirmationServices.Jugador();

            jugador.Correo = "*****@*****.**";
            jugador.Código = "244414";
            Assert.AreEqual(DBOperationResult.AddResult.SQLError, services.GenerateNewCode(jugador));
        }
        public void NewCodeTest()
        {
            Services services = new Services();

            IConfirmationServices.Jugador jugador = new IConfirmationServices.Jugador();

            jugador.Correo = "*****@*****.**";
            jugador.Código = "663666";
            Assert.AreEqual(DBOperationResult.AddResult.Success, services.GenerateNewCode(jugador));
        }
        public void ChangeConfirmationStatusTest()
        {
            Services services = new Services();

            IConfirmationServices.Jugador jugador = new IConfirmationServices.Jugador();

            jugador.Correo = "*****@*****.**";
            jugador.Código = "244414";
            Assert.AreEqual(DBOperationResult.AddResult.Success, services.ChangeConfirmationStatus(jugador));
        }