public void SetUp()
 {
     _sut = new Customer { CustomerIDs = new CustomerAliases()
                                             {
                                                 LegacyCustomerID = BusinessPartner.FedEx.Code
                                             }, CustomerName = "Fedex" };
     _billToAddress = new Address
                  {
                      AddressName = "Fedex Headquarters",
                      Address1 = "21 Fedex Way",
                      AddressCode = new AddressCode { CustomerCode = "BillTo" },
                      AddressType = AddressTypeConstants.BillTo
                  };
     _shipToAddress = new Address
                  {
                      AddressName = "Fedex Airport",
                      Address1 = "5454 Mockingbird Ln",
                      AddressType = AddressTypeConstants.ShipTo
                  };
     _nonSpecificAddress = new Address
                 {
                     AddressName = "Fedex Airport",
                     Address1 = "5454 Mockingbird Ln"
                 };
 }
 public OrderRequestReceivedMessage()
 {
     DocumentId = 850;
     PhoneNumber = "Not Needed";
     Customer = new Customer();
     Notes = new List<string>();
 }
 public OrderChangeRequestReceivedMessage()
 {
     DocumentId = 860;
     PhoneNumber = "Not Needed";
     Customer = new Customer();
     Notes = new List<string>();
     LineItems = new List<CustomerOrderChangeLine>();
 }
 public void can_get_customer_id()
 {
     var customer = new Customer {CustomerIDs = new CustomerAliases(){LegacyCustomerID = "100"}};
     _sut.Customer = customer;
     _sut.CustomerIDs.LegacyCustomerID.ShouldEqual(customer.CustomerIDs.LegacyCustomerID);
 }