public AccountSummary GetAccountSummary2(CustomerInfo customer)
 {
     return(new AccountSummary());
 }
Exemplo n.º 2
0
 CustomerInfo GetValidRule2Customer()
 {
     CustomerInfo customer = new CustomerInfo();
     customer.FirstName = "FirstName";
     customer.LastName = null; // ignored by this ruleset
     customer.Ssn = "333-22-4444";
     return customer;
 }
Exemplo n.º 3
0
 CustomerInfo GetValidRule1Customer()
 {
     CustomerInfo customer = new CustomerInfo();
     customer.FirstName = "FirstName";
     customer.LastName = "LastName";
     customer.Ssn = "Not valid, but that's ok, this ruleset doesn't care";
     return customer;
 }
Exemplo n.º 4
0
 CustomerInfo GetValidBank1Customer()
 {
     CustomerInfo customer =
         new CustomerInfo("First", "LastName", "Illegal SSN, but Bank1 doesn't care");
     return customer;
 }
Exemplo n.º 5
0
 CustomerInfo GetInvalidBank1Customer()
 {
     CustomerInfo customer = new CustomerInfo();
     customer.FirstName = "FirstName";
     customer.LastName = null; // This violates the ruleset
     customer.Ssn = "Not valid, but that's ok, this ruleset doesn't care";
     return customer;
 }
 public AccountSummary GetAccountSummary2(CustomerInfo customer)
 {
     return new AccountSummary();
 }