public void GetSingleDeviceFromId() { foreach (DeviceInfo dev in devices) { DeviceInfo deviceInfo = deviceRepository.GetItem(dev.Id); Assert.IsNotNull(deviceInfo); Assert.AreEqual(dev, deviceInfo); } }