private DeviceModelTelemetryOverride GetDeviceModelApiModelTelemetryOverride()
        {
            var telemetryOverride = new DeviceModelTelemetryOverride()
            {
                Interval        = "00:10:00",
                MessageTemplate = "template",
                MessageSchema   = new DeviceModelTelemetryMessageSchemaOverride()
            };

            return(telemetryOverride);
        }
        public void ItReturnsDeviceModelTelemetryOverrideFromServiceModel()
        {
            // Arrange
            var telemetryOverride = this.GetDeviceModelTelemetryOverride();

            // Act
            var result = DeviceModelTelemetryOverride.FromServiceModel(telemetryOverride);

            // Assert
            Assert.IsType <DeviceModelTelemetryOverride>(result);
        }
        private DeviceModelTelemetryOverride GetEmptyDeviceModelApiModelTelemetryOverride()
        {
            var telemetryOverride = new DeviceModelTelemetryOverride();

            return(telemetryOverride);
        }