public void GetSensorByIndexThrowsException()
        {
            var hardwareController = new TestHardwareController();

            var sensor = new TestSensor(1);
            hardwareController.AddSensor(sensor);

            hardwareController.GetSensor(4);
        }
        public void GetSensorByIndex()
        {
            var hardwareController = new TestHardwareController();

            var sensor = new TestSensor(1);
            hardwareController.AddSensor(sensor);

            Assert.AreEqual(sensor, hardwareController.GetSensor(0));
        }