public void SslStream_AuthenticateAsClientAsync_NotSupported_Fails(SslProtocols protocol)
{
SslStream stream = new SslStream(new NotImplementedStream());
Assert.Throws<NotSupportedException>(() => AuthenticateAsClient(stream, false, "host", null, protocol, false));
}