Exemple #1
0
        public void DeveExcluirUmPaciente()
        {
            //Arrange
            IRepositorio<Paciente> pacientes = new PacientesSQL();

            //Act
            var retorno = pacientes.Excluir(new Paciente("fabio", "12345"));

            //Assert
            Assert.IsTrue(retorno);
        }
Exemple #2
0
        public void DeveExcluirUmPaciente()
        {
            //Arrange
            IRepositorio <Paciente> pacientes = new PacientesSQL();

            //Act
            var retorno = pacientes.Excluir(new Paciente("fabio", "12345"));

            //Assert
            Assert.IsTrue(retorno);
        }