Пример #1
0
        public void SerialNumberCloneTest()
        {
            var cloneDispenser = _dispenser.Clone();

            var setableDisk = cloneDispenser.SymbolDisks.OfType <SetableNumberDisk>().Last();

            setableDisk.Skip = 1;

            var expectedSerialNumber = cloneDispenser.First();

            Assert.AreEqual(expectedSerialNumber, "Test-甲-A1");

            Assert.AreNotEqual(cloneDispenser.Skip(2).First(), _dispenser.Skip(2).First());
        }