예제 #1
0
 public void ForProviderTypes(PathsAndTypes.ProviderMapping mapping)
 {
     var provider = SagePay.SagePayFactory.Refund.Fetch(mapping.ProviderType);
     Assert.IsType(mapping.RefundType, provider);
 }
예제 #2
0
 public void ForConfigFiles(PathsAndTypes.PathMapping mapping)
 {
     var provider = SagePay.SagePayFactory.Refund.Fetch(mapping.FileName);
     Assert.IsType(mapping.RefundType, provider);
 }