| 123456789101112131415161718192021222324252627282930313233 | using Microsoft.VisualStudio.TestTools.UnitTesting;using Renci.SshNet.Tests.Common;using System;namespace Renci.SshNet.Tests.Classes{    /// <summary>    /// Provides functionality to perform keyboard interactive authentication.    /// </summary>    [TestClass]    public partial class KeyboardInteractiveAuthenticationMethodTest : TestBase    {        [TestMethod]        [TestCategory("AuthenticationMethod")]        [Owner("Kenneth_aa")]        [Description("KeyboardInteractiveAuthenticationMethod: Pass null as username.")]        [ExpectedException(typeof(ArgumentException))]        public void Keyboard_Test_Pass_Null()        {            new KeyboardInteractiveAuthenticationMethod(null);        }        [TestMethod]        [TestCategory("AuthenticationMethod")]        [Owner("Kenneth_aa")]        [Description("KeyboardInteractiveAuthenticationMethod: Pass String.Empty as username.")]        [ExpectedException(typeof(ArgumentException))]        public void Keyboard_Test_Pass_Whitespace()        {            new KeyboardInteractiveAuthenticationMethod(string.Empty);        }    }}
 |