public void UniqueNameCheckNonDuplicateManufacturerTest() { var uniqueName = ManufacturerService.CheckForExistingManufacturerName("Testing Manufacturer"); Assert.IsNull(uniqueName); }
public void CheckDuplicateManufacturerTest() { var uniqueName = ManufacturerService.CheckForExistingManufacturerName(TestManufacturerName); Assert.AreEqual(TestManufacturer.ManufacturerName, uniqueName.ManufacturerName); }