public void Deserialize_SensorTextString_ListofSensors()
        {
            var text = TestTextSensors1;
            var expectedSensors = Sensors1;
            var deserializer = new SensorListDeserializer();

            var actualSensors = deserializer.Deserialize(text);

            Assert.AreEqual(expectedSensors.Count, actualSensors.Count);
            for (int i = 0; i < Math.Min(expectedSensors.Count, actualSensors.Count); i++)
            {
                Assert.AreEqual(expectedSensors[i].Protocol, actualSensors[i].Protocol);
                Assert.AreEqual(expectedSensors[i].Model, actualSensors[i].Model);
                Assert.AreEqual(expectedSensors[i].SensorId, actualSensors[i].SensorId);
                Assert.AreEqual(expectedSensors[i].Temp, actualSensors[i].Temp);
                Assert.AreEqual(expectedSensors[i].Humidity, actualSensors[i].Humidity);
                Assert.AreEqual(expectedSensors[i].LastUpdated, actualSensors[i].LastUpdated);
            }
        }
        public void GetSensorTextBlock_CorrectTextString_StringWithSensorInfoOnly()
        {
            var text = TestText1;
            var expectedText = TestTextSensors2;
            var deserializer = new SensorListDeserializer();

            var actualText = deserializer.GetSensorTextBlock(text);

            Assert.AreEqual(expectedText, actualText);
        }