Example #1
0
        public void UniqueNameCheckNonDuplicateDeviceSettingTest()
        {
            var uniqueName = DeviceSettingService.CheckForExistingDeviceSetting("Testing Device Type");

            Assert.IsNull(uniqueName);
        }
Example #2
0
        public void UniqueNameCheckDuplicateDeviceSettingTest()
        {
            var uniqueName = DeviceSettingService.CheckForExistingDeviceSetting(TestDeviceSettingName);

            Assert.AreEqual(TestDeviceSetting.DeviceSettingName, uniqueName.DeviceSettingName);
        }