public async Task <Fax> SendFaxAsync() { FaxSendOptions sendOptions = new FaxSendOptions { ConnectionId = "1123344", From = "3125555555", To = "7735555555", MediaUrl = "http://imgur.com/randomimage.png", Quality = "high" }; return(await _faxService.SendFaxAsync(sendOptions)); }
public FaxServiceTest(MockHttpClientFixture mockHttpClientFixture) : base(mockHttpClientFixture) { _faxService = new FaxService(); faxListOptions = new FaxListOptions { CreatedAtDateGreaterThan = DateTime.UtcNow.ToString() }; faxSendOptions = new FaxSendOptions { ConnectionId = "222344", From = "3125555555", To = "4432232257", MediaUrl = "Google.com", }; }