public WhenGettingDeviceMetadata()
        {
            _registry = new Mock<IDeviceRegistry>();

            _registry.Setup(x => x.FindAsync(DEVICE_ID))
                .ReturnsAsync(new DeviceInfo { DeviceId = DEVICE_ID });

            _controller = new RegistryController(_registry.Object);
        }
        public WhenPuttingDeviceMetadata()
        {

            _registry = new Mock<IDeviceRegistry>();
            _registry.Setup(x => x.AddOrUpdateAsync(It.IsAny<DeviceInfo>()))
                .ReturnsAsync(true);

            _controller = new RegistryController(_registry.Object);
        }