public RemoteMonitorTelemetryTests() { this._loggerMock = new Mock <ILogger>(); this.testDeviceId = "testDeviceId"; this.telemetry = new RemoteMonitorTelemetry(this._loggerMock.Object, this.testDeviceId); }
public object PopulateDeviceWithTelemetryEvents(IDevice device) { var startupTelemetry = new StartupTelemetry(_logger, device); device.TelemetryEvents.Add(startupTelemetry); var monitorTelemetry = new RemoteMonitorTelemetry(_logger, device.DeviceID); device.TelemetryEvents.Add(monitorTelemetry); return monitorTelemetry; }
public object PopulateDeviceWithTelemetryEvents(IDevice device) { var startupTelemetry = new StartupTelemetry(_logger, device); device.TelemetryEvents.Add(startupTelemetry); var monitorTelemetry = new RemoteMonitorTelemetry(_logger, device.DeviceID); device.TelemetryEvents.Add(monitorTelemetry); return(monitorTelemetry); }