public async Task DeleteAsync_forwards_to_IHttpRestClient(IHttpRestClient client, string path, Request request, IQueryString queryString, Response _) { _ = await client.DeleteAsync <Request, Response>(path, request, queryString); Mock.Get(client).Verify(p => p.SendAsync <Request, Response>(HttpMethod.Delete, path, request, queryString)); }
public async Task DeleteAsync_forwards_to_IHttpRestClient(IHttpRestClient client, string path, IQueryString queryString) { await client.DeleteAsync(path, queryString); Mock.Get(client).Verify(p => p.SendAsync(HttpMethod.Delete, path, queryString)); }