常用方法
常用方法
常用方法
常用方法
public void IsPaymentMethodActive_NullProvider_ThrowException() { IPaymentProvider provider = null; var settings = new PaymentSettings(); Assert.ThrowsException <ArgumentNullException>(() => provider.IsPaymentMethodActive(settings)); }