Ejemplo n.º 1
0
        private void HAInformationWindow1_Loaded(object sender, RoutedEventArgs e)
        {
            listGeneralSpecs = _manageHA.GetAllHA(_clinicianMain.Patient.CPR);

            foreach (var clinicianSpec in listGeneralSpecs)
            {
                if (clinicianSpec.EarSide == Ear.Right)
                {
                    Lb_OldHearingRight.Items.Add("Dato " + clinicianSpec.CreateDate);
                }
                else if (clinicianSpec.EarSide == Ear.Left)
                {
                    Lb_OldHearingLeft.Items.Add("Dato: " + clinicianSpec.CreateDate);
                }
            }
        }
Ejemplo n.º 2
0
        public void GetAllHA_ExpectedResult_CallCreateNewGeneralSpec()
        {
            uut.GetAllHA("1234");

            db.Received(1).GetAllGeneralSpecs(1234);
        }