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

            _presenter = new DataPropertiesFxPresenter(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<IDataPropertiesView>();
            var mockFx = new Mock<IDataPropertiesElementFx>();

            _presenter = new DataPropertiesFxPresenter(null, null);
            _presenter.DataPropertiesView = mockView.Object;

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

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