public void ComoAtendenteQueroInformarNoAgendamentoOPaciente() { //Arrange Paciente paciente = new Paciente("000.000.000-12","Fabio Margarito Martins de Barros"); Agendamento agendamento = (new FabricaDeAgendamento()).InformarMedico("1234", "Fabio").InformarAtendente("12345", "Joao").Criar(); //Act agendamento.InformarPaciente(paciente); //Assert Assert.IsTrue(agendamento.Paciente.CPF == "000.000.000-12"); }
public virtual void InformarPaciente(Paciente paciente) { Paciente = paciente; }