示例#1
0
        public void UniqueNameCheckNonDuplicateManufacturerTest()
        {
            var uniqueName = ManufacturerService.CheckForExistingManufacturerName("Testing Manufacturer");

            Assert.IsNull(uniqueName);
        }
示例#2
0
        public void CheckDuplicateManufacturerTest()
        {
            var uniqueName = ManufacturerService.CheckForExistingManufacturerName(TestManufacturerName);

            Assert.AreEqual(TestManufacturer.ManufacturerName, uniqueName.ManufacturerName);
        }