public void UniqueNameCheckNonDuplicateDeviceCategory() { var uniqueName = DeviceCategoryService.CheckForExistingDeviceCategory("Testing Device Category"); Assert.IsNull(uniqueName); }
public void UniqueNameCheckDuplicateDeviceCategoryTest() { var uniqueName = DeviceCategoryService.CheckForExistingDeviceCategory(TestDeviceCategoryName); Assert.AreEqual(TestDeviceCategory.DeviceCategoryName, uniqueName.DeviceCategoryName); }