public void TestBedSet()
        {
            int testBedNumber = 1;
            PatientDataWriter testDataWriter = new PatientDataWriter {
                BedNumber = testBedNumber
            };

            Assert.AreEqual(testBedNumber, testDataWriter.BedNumber);
        }
        public void TestAlarmSet()
        {
            Mock <IPatientAlarmer> testPatientAlarm = new Mock <IPatientAlarmer>();

            PatientDataWriter testDataWriter = new PatientDataWriter {
                AlarmToBeStored = testPatientAlarm.Object
            };

            Assert.AreEqual(testPatientAlarm.Object, testDataWriter.AlarmToBeStored);
        }
        public void TestWriteData()
        {
            Mock <IPatientAlarmer> testAlarmer = new Mock <IPatientAlarmer>();

            testAlarmer.Setup(a => a.AlarmTesters).Returns(new List <IAlarmTester>());
            PatientDataWriter testDataWriter = new PatientDataWriter();

            testDataWriter.WriteData(testAlarmer.Object);
            Assert.Fail();
        }
        public void TestWriterConstructor()
        {
            PatientDataWriter testDataWriter = new PatientDataWriter();

            Assert.IsNotNull(testDataWriter);
        }