public void ShouldCheckOutTheSelectedItemsFromTheBasket() { var item1 = new Item { ProductName = "Butter", PriceOfProduct = "3", NoOfProducts = 2, ItemCreatedDate = new DateTime(2013, 09, 18), ItemExpiryDate = new DateTime(2013, 09, 21) }; var item2 = new Item { ProductName = "Milk", PriceOfProduct = "2", NoOfProducts = 2, ItemCreatedDate = new DateTime(2013, 09, 18), ItemExpiryDate = new DateTime(2013, 09, 21) }; IBasket basket = new Basket(); basket.AddItemsToTheBasket(item1); basket.AddItemsToTheBasket(item2); var checkout = new Checkout(basket); IList<Item> itemsForCheckout = checkout.ItemsSelectedForCheckOut().ToList(); Assert.That(itemsForCheckout.Count, Is.EqualTo(2)); }