public async Task TestConnectNullArgument()
        {
            //act
            var result = await _target.Connect(null);

            //assert
            Assert.IsFalse(result);
        }
        public async Task Connect_GivenShowConnectionTimeoutConfirmation_MessageBox_Yes()
        {
            //------------Setup for test--------------------------
            var popupController = new Mock <IPopupController>();

            popupController.SetupSequence(controller => controller.ShowConnectionTimeoutConfirmation(_serverMock.Object.DisplayName))
            .Returns(MessageBoxResult.Yes)
            .Returns(MessageBoxResult.None);
            var connectControlViewModel = new ConnectControlViewModel(_serverMock.Object, new EventAggregator(), popupController.Object);
            //------------Execute Test---------------------------
            var connect = await connectControlViewModel.Connect(_serverMock.Object);

            //------------Assert Results-------------------------
            Assert.IsNotNull(connect);
        }