コード例 #1
0
        public void OutOfStockExMessageIsCorrect()
        {
            OutOfStockException oos = new OutOfStockException();

            Assert.AreEqual("\nThis item is out of stock!", oos.Message);
        }
コード例 #2
0
 public void Initialize()
 {
     testClass  = new InsufficientFundsException();
     testClass1 = new OutOfStockException();
 }