private NonSecureRequest_AddNoCertificates_CertificateContextNotSet ( ) : void | ||
return | void |
public void NonSecureRequest_AddNoCertificates_CertificateContextNotSet()
{
using (var handler = new WinHttpHandler())
using (HttpResponseMessage response = SendRequestHelper.Send(
handler,
() => { },
TestServer.FakeServerEndpoint))
{
Assert.Equal(0, APICallHistory.WinHttpOptionClientCertContext.Count);
}
}