public void _Fx_StatusChanged_EventHandler_Calls_View_UpdateFxStatus()
        {
            //Arrange
            var mockView = new Mock<INetworkPropertiesView>();
            var mock2ndView = mockView.As<ISecondaryFxView>();
            var mockFx = new Mock<INetworkPropertiesElementFx>();
            FxStatusChangeEventArgs ea = new FxStatusChangeEventArgs(FxStatus.UnInitialized, FxStatus.Validating);

            _presenter = new NetworkPropertiesFxPresenter(mockFx.Object, mockView.Object);

            //Act
            _presenter._Fx_StatusChanged(mockFx.Object, ea);

            mock2ndView.Verify(m => m.UpdateFxStatus(FxStatus.Validating), Times.Once);
        }
        public void _Fx_StatusChanged_Does_Not_Call_View_UpdateFxStatus_If_Sender_Is_Null()
        {
            var mockView = new Mock<INetworkPropertiesView>();
            var mockFx = new Mock<INetworkPropertiesElementFx>();

            _presenter = new NetworkPropertiesFxPresenter(null, null);
            _presenter.NetworkPropertiesView = mockView.Object;

            //Act
            _presenter._Fx_StatusChanged(null, new FxStatusChangeEventArgs(FxStatus.Complete, FxStatus.Error));

            //Assert
            mockView.Verify(m => m.UpdateFxStatus(FxStatus.Error), Times.Never);
        }