Ejemplo n.º 1
0
 public void ShouldPassValidationWhenPassingBank1Ruleset()
 {
     using (Banking1ServiceHost host = new Banking1ServiceHost())
     {
         CustomerInfo customer = GetValidBank1Customer();
         host.Proxy.GetAccountSummary(customer);
     }
 }
Ejemplo n.º 2
0
 public void ShouldFailValidationWhenViolatingBank1Ruleset()
 {
     using (Banking1ServiceHost host = new Banking1ServiceHost())
     {
         CustomerInfo customer = GetInvalidBank1Customer();
         AccountSummary summary = host.Proxy.GetAccountSummary(customer);
     }
 }