public void Ctor_SetsUrl() { // act var args = new ConnectionSelectedEventArgs("http://test.com"); // assert Assert.That(args.Url, Is.EqualTo("http://test.com")); }
private void ViewOnConnectionOnConnectionSelected(object sender, ConnectionSelectedEventArgs args) { var configuration = _webServerConnectionsHelper.FindConnection(args.Url); if (configuration != null) { View.DisplayConnection(configuration.Username, configuration.Password, configuration.Domain); } else { View.DisplayConnection(string.Empty, string.Empty, string.Empty); } }