Ejemplo n.º 1
0
 public void FillByGivenGuNoGUYearReturnsPatientNotNull()
 {
     dataContext.Patient_Info.Add(GetTestPatient());
     PatientBO patient = new PatientBO();
     patient.FillBy(1, 2015);
     Assert.IsNotNull(patient);
 }
Ejemplo n.º 2
0
        public void FillByGivenGuNoGUYearReturnsNoRecordException()
        {
            dataContext.Patient_Info.Add(GetTestPatient());
            PatientBO patient = new PatientBO();

            patient.FillBy(0, 2015);
        }
Ejemplo n.º 3
0
        public void FillByGivenGuNoGUYearReturnsPatientNotNull()
        {
            dataContext.Patient_Info.Add(GetTestPatient());
            PatientBO patient = new PatientBO();

            patient.FillBy(1, 2015);
            Assert.IsNotNull(patient);
        }
Ejemplo n.º 4
0
 public void FillByGivenGuNoGUYearReturnsNoRecordException()
 {
     dataContext.Patient_Info.Add(GetTestPatient());
     PatientBO patient = new PatientBO();
     patient.FillBy(0,2015);            
 }