using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Renci.SshNet.Tests.Common; namespace Renci.SshNet.Tests.Classes { /// /// Provides functionality to perform keyboard interactive authentication. /// [TestClass] public partial class KeyboardInteractiveAuthenticationMethodTest : TestBase { [TestMethod] public void Keyboard_Test_Pass_Null() { Assert.ThrowsException(() => new KeyboardInteractiveAuthenticationMethod(null)); } [TestMethod] public void Keyboard_Test_Pass_Whitespace() { Assert.ThrowsException(() => new KeyboardInteractiveAuthenticationMethod(string.Empty)); } } }