[TestMethod]//Add the book to order from available book window and check if the number of book in order equal to our expected value public void TestAddToOrder1() { uid = 9; String order_isbn = "161729134"; String order_title = "NULLC## in Depth"; double order_unitPrice = 41.22; int quantity = 2; int expectedCount = 1; bookOrder = new BookOrder(); bookOrder.AddItem(new OrderItem(order_isbn, order_title, order_unitPrice, quantity)); Assert.AreEqual(expectedCount, bookOrder.OrderItemList.Count); }