예제 #1
0
        public void IncrementCableQuantityByOne()
        {
            //Arrange
            OrderItem item = new OrderItem("cable", 1);

            //Act
            item.AddToTotal(3);

            //Assert
            Assert.AreEqual(item.Quantity, 4);
        }