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