Exemple #1
0
        public void Test_AddConsultation()
        {
            HospitalConfiguration hospitalConfiguration = HospitalConfiguration.GetInstance();
            Consultation          consultation          = new Consultation();

            ConsultationService.AddConsultation(consultation);
            Assert.AreEqual(hospitalConfiguration.Consultations[0], consultation);
            Assert.AreEqual(hospitalConfiguration.Consultations.Count, 1);
        }