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