Exemple #1
0
 public void Test_GetSslCertificateHashBoundToPort_Fail()
 {
     //Assert.IsTrue(StartUp.IsSslCertBound(443));
     Assert.AreEqual(null, StartUp.GetSslCertificateHashBoundToPort(8080));
 }
Exemple #2
0
 public void Test_GetSslCertificateHashBoundToPort_Success()
 {
     Assert.AreEqual("F386FA31CAA05B57C7606FD1FBC33E271D053C2B", StartUp.GetSslCertificateHashBoundToPort(4430));
 }