public void PutAsyncIsNotSupported() { var service = new CustomerPaymentService(null, null); var ex = Assert.Throws<AggregateException>(() => service.UpdateAsync(null, null, null).Wait()); Assert.IsInstanceOf<NotSupportedException>(ex.InnerException); }
public void PutAsyncIsNotSupported() { var service = new CustomerPaymentService(null, null); var ex = Assert.Throws <AggregateException>(() => service.UpdateAsync(null, null, null).Wait()); Assert.IsInstanceOf <NotSupportedException>(ex.InnerException); }
public HomeController() { customerPaymentService = new CustomerPaymentService(); }
public void PutDelegateIsNotSupported() { var service = new CustomerPaymentService(null, null); Assert.Throws <NotSupportedException>(() => service.Update(null, null, null, (code, s) => {}, (uri, exception) => {})); }
public void PutSyncIsNotSupported() { var service = new CustomerPaymentService(null, null); Assert.Throws <NotSupportedException>(() => service.Update(null, null, null)); }
public void PutDelegateIsNotSupported() { var service = new CustomerPaymentService(null, null); Assert.Throws<NotSupportedException>(() => service.Update(null, null, null, (code, s) => {}, (uri, exception) => {})); }
public void PutSyncIsNotSupported() { var service = new CustomerPaymentService(null, null); Assert.Throws<NotSupportedException>(() => service.Update(null, null, null)); }