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."); }
public void DisposeTest() { using (var privateKeyStream = GetData("Key.RSA.txt")) { var target = new PrivateKeyFile(privateKeyStream); target.Dispose(); } }
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."); }
public void DisposeTest() { using (var privateKeyStream = GetData("Key.RSA.txt")) { var target = new PrivateKeyFile(privateKeyStream); target.Dispose(); } }