public void TestDeleteCustomerAndUndoUsingWCF()
        {
            string contextId = Guid.NewGuid().ToString();
              CommanndServiceReference.CommandServiceClient cmdClient = new OrderProcessing.Tests.CommanndServiceReference.CommandServiceClient();
              CustomerQueryServiceReference.CustomerQueryServiceClient custQueryClient = new OrderProcessing.Tests.CustomerQueryServiceReference.CustomerQueryServiceClient();
              AssignContextId(custQueryClient.InnerChannel,contextId);
              AssignContextId(cmdClient.InnerChannel,contextId);
              var customers = custQueryClient.All();
              long count = custQueryClient.Count();
              Customer customer = customers.ElementAt(new Random().Next(0, (int)count - 1));
              //Customer customer = customers.Where(x => x.CustomerId == "YLHWC").First();

              RemoveCustomerCommand command = new RemoveCustomerCommand(customer);
              cmdClient.ExecuteCommand(command);
              cmdClient.Undo();

              long countAfter = custQueryClient.Count();
              Assert.That(count, Is.EqualTo(countAfter));
        }
 public void Test_QuerySerialization()
 {
     CustomerQueryServiceReference.CustomerQueryServiceClient client = new OrderProcessing.Tests.CustomerQueryServiceReference.CustomerQueryServiceClient();
 }