public void FillDisplayDeviceIdTest()
        {
            var nativeModel = new DisplayDevice {
                DeviceId = "Id"
            };
            var model = new MonitorDetails.Models.DisplayDevice();

            Helpers.FillDisplayDevice(model, nativeModel);

            Assert.Equal(nativeModel.DeviceId, model.Id);
        }
        public void FillDisplayDeviceStateTest()
        {
            var nativeModel = new DisplayDevice {
                StateFlags = DisplayDeviceState.PrimaryDevice
            };
            var model = new MonitorDetails.Models.DisplayDevice();

            Helpers.FillDisplayDevice(model, nativeModel);

            Assert.Equal(nativeModel.StateFlags, model.State);
        }
        public void FillDisplayDeviceNameTest()
        {
            var nativeModel = new DisplayDevice {
                DeviceName = "Name"
            };
            var model = new MonitorDetails.Models.DisplayDevice();

            Helpers.FillDisplayDevice(model, nativeModel);

            Assert.Equal(nativeModel.DeviceName, model.Name);
        }
        public void FillDisplayDeviceDescriptionTest()
        {
            var nativeModel = new DisplayDevice {
                DeviceString = "String"
            };
            var model = new MonitorDetails.Models.DisplayDevice();

            Helpers.FillDisplayDevice(model, nativeModel);

            Assert.Equal(nativeModel.DeviceString, model.Description);
        }
        public void FillDisplayDeviceKeyTest()
        {
            var nativeModel = new DisplayDevice {
                DeviceKey = "Key"
            };
            var model = new MonitorDetails.Models.DisplayDevice();

            Helpers.FillDisplayDevice(model, nativeModel);

            Assert.Equal(nativeModel.DeviceKey, model.Key);
        }