public void btnOmniEditSave_Click_LinkTrackingParamSettingsHasId_ShouldUpdate()
 {
     //Arrange
     _linkTrackingParamSettingsGetResult.LTPSID = GetNumber();
     _currentUser.UserID = GetNumber();
     //Act
     CallbtnOmniEditSave_Click();
     //Assert
     _linkTrackingParamSettingsUpdated.ShouldSatisfyAllConditions(
         () => _linkTrackingParamSettingsUpdated.ShouldNotBeNull(),
         () => _linkTrackingParamSettingsUpdated.ShouldBe(_linkTrackingParamSettingsGetResult),
         () => _linkTrackingParamSettingsUpdated.UpdatedUserID.ShouldBe(_currentUser.UserID),
         () => _linkTrackingParamSettingsUpdated.DisplayName.ShouldBe(_txtOmniDisplayName.Text));
 }
        public void btnOmniEditSave_Click_LinkTrackingParamSettingsHasNoId_ShouldInsert()
        {
            //Arrange
            _linkTrackingParamSettingsGetResult.LTPSID = Zero;
            _currentUser.UserID = GetNumber();
            var paramId = GetNumber();

            _viewState["ParamOptionID"] = paramId;
            //Act
            CallbtnOmniEditSave_Click();
            //Assert
            _linkTrackingParamSettingsInserted.ShouldSatisfyAllConditions(
                () => _linkTrackingParamSettingsInserted.ShouldNotBeNull(),
                () => _linkTrackingParamSettingsInserted.CreatedUserID.ShouldBe(_currentUser.UserID),
                () => _linkTrackingParamSettingsInserted.DisplayName.ShouldBe(_txtOmniDisplayName.Text),
                () => _linkTrackingParamSettingsInserted.LTPID.ShouldBe(paramId));
        }