public void find_or_create_new_will_create_a_new_order_for_nonexisting_one()
        {
            var order = modifyOrderModel.FindOrderOrCreateNew("A0001", DateTime.Now);

            Assert.That(order, Is.Not.Null);
            Assert.That(order.IsNew, Is.True);
            modifyOrderModel.EndConversation();
        }
        void AddButtonPressed(object sender, EventArgs e)
        {
            // If a conversation was pending then abort it.
            modifyOrderModel.EndConversation();

            currentOrder = modifyOrderModel.FindOrderOrCreateNew(View.OrderNumber, View.OrderDate);

            IList <OrderLine> orderLines = currentOrder.OrderLines;

            View.ShowLines(new List <OrderLine>(orderLines));
        }