Пример #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);
 }