AuthenticationPasswordChangeEventArgsTest.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using Microsoft.VisualStudio.TestTools.UnitTesting;
  2. using Renci.SshNet.Common;
  3. using Renci.SshNet.Tests.Common;
  4. namespace Renci.SshNet.Tests.Classes.Common
  5. {
  6. /// <summary>
  7. ///This is a test class for AuthenticationPasswordChangeEventArgsTest and is intended
  8. ///to contain all AuthenticationPasswordChangeEventArgsTest Unit Tests
  9. ///</summary>
  10. [TestClass]
  11. public class AuthenticationPasswordChangeEventArgsTest : TestBase
  12. {
  13. /// <summary>
  14. ///A test for AuthenticationPasswordChangeEventArgs Constructor
  15. ///</summary>
  16. [TestMethod]
  17. public void AuthenticationPasswordChangeEventArgsConstructorTest()
  18. {
  19. var username = string.Empty; // TODO: Initialize to an appropriate value
  20. var target = new AuthenticationPasswordChangeEventArgs(username);
  21. Assert.Inconclusive("TODO: Implement code to verify target");
  22. }
  23. /// <summary>
  24. ///A test for NewPassword
  25. ///</summary>
  26. [TestMethod]
  27. public void NewPasswordTest()
  28. {
  29. string username = string.Empty; // TODO: Initialize to an appropriate value
  30. var target = new AuthenticationPasswordChangeEventArgs(username); // TODO: Initialize to an appropriate value
  31. byte[] expected = null; // TODO: Initialize to an appropriate value
  32. byte[] actual;
  33. target.NewPassword = expected;
  34. actual = target.NewPassword;
  35. Assert.AreEqual(expected, actual);
  36. Assert.Inconclusive("Verify the correctness of this test method.");
  37. }
  38. }
  39. }