hunk.code_window: 	ret := _m.Called(req, requesterEmail)
   	var r0 *model.SelfHostedSignupConfirmResponse
   	if rf, ok := ret.Get(0).(func(model.SelfHostedExpansionConfirmPaymentMethodRequest, string) *model.SelfHostedSignupConfirmResponse); ok {
   		r0 = rf(req, requesterEmail)
   	} else {
   		if ret.Get(0) != nil {
  
hunk.labels: keep keep keep replace keep keep keep
hunk.after_edit: 	if rf, ok := ret.Get(0).(func(model.SelfHostedConfirmPaymentMethodRequest, string) *model.SelfHostedSignupConfirmResponse); ok {
  
hunk.file_path: server/channels/einterfaces/mocks/CloudInterface.go
hunk.type: replace
file: // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
  // See LICENSE.txt for license information.
  
  import {combineReducers} from 'redux';
  
  import {UserTypes} from 'mattermost-redux/action_types';
  import type {GenericAction} from 'mattermost-redux/types/actions';
  
  import {ActionTypes, Locations} from 'utils/constants';
  
  function emojiPickerCustomPage(state = 0, action: GenericAction) {
      switch (action.type) {
      case ActionTypes.INCREMENT_EMOJI_PICKER_PAGE:
          return state + 1;
      case UserTypes.LOGOUT_SUCCESS:
          return 0;
      default:
          return state;
      }
  }
  
  function shortcutReactToLastPostEmittedFrom(state = '', action: GenericAction) {
      switch (action.type) {
      case ActionTypes.EMITTED_SHORTCUT_REACT_TO_LAST_POST:
          if (action.payload === Locations.CENTER) {
              return Locations.CENTER;
          } else if (action.payload === Locations.RHS_ROOT) {
              return Locations.RHS_ROOT;
          } else if (action.payload === Locations.NO_WHERE) {
              return '';
          }
          return state;
  
      case UserTypes.LOGOUT_SUCCESS:
          return '';
      default:
          return state;
      }
  }
  
  export default combineReducers({
      emojiPickerCustomPage,
      shortcutReactToLastPostEmittedFrom,
  });
  