public void HttpsExtensionConnectionAdapterTestValidCertWithEkuClient_Fails()
        {
            var(cert, key) = TestCertificateHelper.GenerateClientert("eku client auth", DateTime.Now.Subtract(TimeSpan.FromDays(2)), DateTime.Now.AddYears(1));
            var options = new HttpsConnectionAdapterOptions()
            {
                ServerCertificate = cert
            };

            Assert.Throws <InvalidOperationException>(() => new HttpsExtensionConnectionAdapter(options));
        }