Following is the piece of code(simple HTTP post call), I am trying to mock in Azure Function:
await httpClient.PostAsync("https://url.com", await File.ReadAllTextAsync
Following is the piece of code(simple HTTP post call), I am trying to mock in Azure Function:
await httpClient.PostAsync("https://url.com", await File.ReadAllTextAsync,c#,unit-testing,mocking,moq,xunit"/>