public static void HttpClientUrlTemplateExtensions_DeleteAsync_Generic_Args() { Assert.ThrowsAsync <ArgumentNullException>(() => HttpClientUrlTemplateExtensions .DeleteAsync(null, s_genericTemplate, default)); Assert.ThrowsAsync <ArgumentNullException>(() => HttpClientUrlTemplateExtensions .DeleteAsync(new HttpClient(), default(UrlTemplate <Data>), default)); }
public static void HttpClientUrlTemplateExtensions_DeleteAsync_Boxed_Args() { Assert.ThrowsAsync <ArgumentNullException>(() => HttpClientUrlTemplateExtensions .DeleteAsync(null, s_boxedTemplate, null)); Assert.ThrowsAsync <ArgumentNullException>(() => HttpClientUrlTemplateExtensions .DeleteAsync(new HttpClient(), default(UrlTemplate), null)); }