public async Task Redis_Should_AddSimpleItem() { var ds = GetValidStream(); var record = new DataStreamRecord() { DeviceId = DEVICE_ID, StreamId = ds.Id, StreamKey = ds.Key }; record.Timestamp = DateTime.UtcNow.ToJSONString(); record.Data.Add("int1", 100); record.Data.Add("dec1", 100.12); record.Data.Add("str1", "hello world"); Assert.IsTrue((await _redisConnector.AddItemAsync(record)).Successful); }