public void can_save_product() { Product product = CreateProduct("A1", "A1 Product", 17.25); Product savedProduct = productModel.Save(product); Assert.That(savedProduct, Is.Not.Null); Assert.That(savedProduct.Id > 0); productModel.EndConversation(); }
void view_CloseView(object sender, EventArgs e) { // If there is an existing conversation end it productModel.EndConversation(); }