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

            patient.FillBy(0, 2015);
        }
示例#3
0
        public void FillByGivenGuNoGUYearReturnsPatientNotNull()
        {
            dataContext.Patient_Info.Add(GetTestPatient());
            PatientBO patient = new PatientBO();

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