private ServerAsyncAuthenticate_EachServerUnsupportedProtocol_Fail ( SslProtocols protocol ) : System.Threading.Tasks.Task | ||
protocol | SslProtocols | |
return | System.Threading.Tasks.Task |
public async Task ServerAsyncAuthenticate_EachServerUnsupportedProtocol_Fail(SslProtocols protocol)
{
await Assert.ThrowsAsync<NotSupportedException>(() =>
{
return ServerAsyncSslHelper(
SslProtocolSupport.SupportedSslProtocols,
protocol,
expectedToFail: true);
});
}