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