예제 #1
0
        public void MinusQuantity_MinusNumberGreaterThanInventoryNumber_ThrowArgumentOutOfRangeException()
        {
            int minusQuantity = 10000;
            int medicineId    = 3;

            Action act = () => _sut.MinusQuantity(medicineId, minusQuantity);

            act.Should().Throw <ArgumentOutOfRangeException>();
        }