public void TestCreateAndReturnObjDataWriter()
 {
     PatientClassesEnumeration testClassesEnumeration = PatientClassesEnumeration.PatientDataWriter;
     IPatientFactory testFactory = new PatientFactory();
     testFactory.CreateAndReturnObj(testClassesEnumeration);
     Assert.IsNotNull(testFactory);
 }
Esempio n. 2
0
 public MainWindow()
 {
     InitializeComponent();
     PatientFactory factory = new PatientFactory();
     PatientMonitoringController controller = new PatientMonitoringController(this, factory);
     controller.RunMonitor();
 }
Esempio n. 3
0
        public MainWindow()
        {
            InitializeComponent();
            PatientFactory factory = new PatientFactory();
            PatientMonitoringController controller = new PatientMonitoringController(this, factory);

            controller.RunMonitor();
        }