Exemplo n.º 1
0
        public void UniqueNameCheckNonDuplicateManufacturerTest()
        {
            var uniqueName = ManufacturerService.CheckForExistingManufacturerName("Testing Manufacturer");

            Assert.IsNull(uniqueName);
        }
Exemplo n.º 2
0
        public void CheckDuplicateManufacturerTest()
        {
            var uniqueName = ManufacturerService.CheckForExistingManufacturerName(TestManufacturerName);

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