public void DeveRetornarPacientesPorTrechoDoNome() { //Arrange IRepositorio<Paciente> pacientes = new PacientesSQL(); //Act var retorno = pacientes.ConsultarPorTrechoNome("fabio"); //Assert Assert.IsTrue(retorno.Count>0); }
public void DeveRetornarPacientesPorTrechoDoNome() { //Arrange IRepositorio <Paciente> pacientes = new PacientesSQL(); //Act var retorno = pacientes.ConsultarPorTrechoNome("fabio"); //Assert Assert.IsTrue(retorno.Count > 0); }
public void DeveExcluirUmPaciente() { //Arrange IRepositorio<Paciente> pacientes = new PacientesSQL(); //Act var retorno = pacientes.Excluir(new Paciente("fabio", "12345")); //Assert Assert.IsTrue(retorno); }
public void DeveExcluirUmPaciente() { //Arrange IRepositorio <Paciente> pacientes = new PacientesSQL(); //Act var retorno = pacientes.Excluir(new Paciente("fabio", "12345")); //Assert Assert.IsTrue(retorno); }