Пример #1
0
 public void DisposeTest()
 {
     Stream privateKey = null; // TODO: Initialize to an appropriate value
     PrivateKeyFile target = new PrivateKeyFile(privateKey); // TODO: Initialize to an appropriate value
     target.Dispose();
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
Пример #2
0
 public void DisposeTest()
 {
     using (var privateKeyStream = GetData("Key.RSA.txt"))
     {
         var target = new PrivateKeyFile(privateKeyStream);
         target.Dispose();
     }
 }
Пример #3
0
        public void DisposeTest()
        {
            Stream         privateKey = null;                           // TODO: Initialize to an appropriate value
            PrivateKeyFile target     = new PrivateKeyFile(privateKey); // TODO: Initialize to an appropriate value

            target.Dispose();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
Пример #4
0
 public void DisposeTest()
 {
     using (var privateKeyStream = GetData("Key.RSA.txt"))
     {
         var target = new PrivateKeyFile(privateKeyStream);
         target.Dispose();
     }
 }