public void GetStockListItembyProductID() { Discount discount = handler.GetDiscount("D1"); Product product = handler.GetProductID("P1"); StockListItem expected = new StockListItem(5, product, discount, PurchaseEnum.Immediate, "S1"); StockListItem find = handler.GetStockListItembyProductID("P1"); Assert.AreEqual(expected, find); }