Ejemplo n.º 1
0
  public void CustomerAdd()
  {
      Customer TestCust = new Customer();
      TestCust.CustomerFirstName = "Kim";
      TestCust.CustomerLastName = "Smith";
      TestCust.PhoneNumber = "3304775555";
      CustomerProvider testProvider = new CustomerProvider();
      int myID=testProvider.AddUpdateCustomer(TestCust);
      Assert.IsNotNull(myID);
 }
Ejemplo n.º 2
0
 public void CustomerUpdate()
 {
     Customer TestCust = new Customer();
     TestCust.CustomerID = 1;
     TestCust.CustomerFirstName = "Neal";
     TestCust.CustomerLastName = "Irwin";
     TestCust.PhoneNumber = "1234325";
     TestCust.Country = "USA";
     TestCust.St = "OH";
     CustomerProvider testProvider = new CustomerProvider();
     int myID = testProvider.AddUpdateCustomer(TestCust);
     Assert.IsNotNull(myID);
 }