Exemple #1
0
        public void AddToBillItemListTest()
        {
            testpatient.RecordList.Add(new Record(testpatient));
            testpatient.RecordList[0].CurrentBill = new Bill(testpatient.RecordList[0]);
            MedicalService testservice = new MedicalService(30, "TestName", "TM");

            testwife.RegisterTreatmentToBill(testpatient, testservice);

            Assert.IsNotNull(testpatient.RecordList[0].CurrentBill.BillItemList);
        }