github.com/xzl8028/xenia-server@v0.0.0-20190809101854-18450a97da63/store/storetest/mocks/SqlStore.go (about)

     1  // Code generated by mockery v1.0.0. DO NOT EDIT.
     2  
     3  // Regenerate this file using `make store-mocks`.
     4  
     5  package mocks
     6  
     7  import gorp "github.com/xzl8028/gorp"
     8  import mock "github.com/stretchr/testify/mock"
     9  
    10  import squirrel "github.com/Masterminds/squirrel"
    11  import store "github.com/xzl8028/xenia-server/store"
    12  
    13  // SqlStore is an autogenerated mock type for the SqlStore type
    14  type SqlStore struct {
    15  	mock.Mock
    16  }
    17  
    18  // AlterColumnDefaultIfExists provides a mock function with given fields: tableName, columnName, mySqlColDefault, postgresColDefault
    19  func (_m *SqlStore) AlterColumnDefaultIfExists(tableName string, columnName string, mySqlColDefault *string, postgresColDefault *string) bool {
    20  	ret := _m.Called(tableName, columnName, mySqlColDefault, postgresColDefault)
    21  
    22  	var r0 bool
    23  	if rf, ok := ret.Get(0).(func(string, string, *string, *string) bool); ok {
    24  		r0 = rf(tableName, columnName, mySqlColDefault, postgresColDefault)
    25  	} else {
    26  		r0 = ret.Get(0).(bool)
    27  	}
    28  
    29  	return r0
    30  }
    31  
    32  // AlterColumnTypeIfExists provides a mock function with given fields: tableName, columnName, mySqlColType, postgresColType
    33  func (_m *SqlStore) AlterColumnTypeIfExists(tableName string, columnName string, mySqlColType string, postgresColType string) bool {
    34  	ret := _m.Called(tableName, columnName, mySqlColType, postgresColType)
    35  
    36  	var r0 bool
    37  	if rf, ok := ret.Get(0).(func(string, string, string, string) bool); ok {
    38  		r0 = rf(tableName, columnName, mySqlColType, postgresColType)
    39  	} else {
    40  		r0 = ret.Get(0).(bool)
    41  	}
    42  
    43  	return r0
    44  }
    45  
    46  // Audit provides a mock function with given fields:
    47  func (_m *SqlStore) Audit() store.AuditStore {
    48  	ret := _m.Called()
    49  
    50  	var r0 store.AuditStore
    51  	if rf, ok := ret.Get(0).(func() store.AuditStore); ok {
    52  		r0 = rf()
    53  	} else {
    54  		if ret.Get(0) != nil {
    55  			r0 = ret.Get(0).(store.AuditStore)
    56  		}
    57  	}
    58  
    59  	return r0
    60  }
    61  
    62  // Bot provides a mock function with given fields:
    63  func (_m *SqlStore) Bot() store.BotStore {
    64  	ret := _m.Called()
    65  
    66  	var r0 store.BotStore
    67  	if rf, ok := ret.Get(0).(func() store.BotStore); ok {
    68  		r0 = rf()
    69  	} else {
    70  		if ret.Get(0) != nil {
    71  			r0 = ret.Get(0).(store.BotStore)
    72  		}
    73  	}
    74  
    75  	return r0
    76  }
    77  
    78  // Task provides a mock function with given fields:
    79  func (_m *SqlStore) Task() store.TaskStore {
    80  	ret := _m.Called()
    81  
    82  	var r0 store.TaskStore
    83  	if rf, ok := ret.Get(0).(func() store.TaskStore); ok {
    84  		r0 = rf()
    85  	} else {
    86  		if ret.Get(0) != nil {
    87  			r0 = ret.Get(0).(store.TaskStore)
    88  		}
    89  	}
    90  
    91  	return r0
    92  }
    93  
    94  // Channel provides a mock function with given fields:
    95  func (_m *SqlStore) Channel() store.ChannelStore {
    96  	ret := _m.Called()
    97  
    98  	var r0 store.ChannelStore
    99  	if rf, ok := ret.Get(0).(func() store.ChannelStore); ok {
   100  		r0 = rf()
   101  	} else {
   102  		if ret.Get(0) != nil {
   103  			r0 = ret.Get(0).(store.ChannelStore)
   104  		}
   105  	}
   106  
   107  	return r0
   108  }
   109  
   110  // Close provides a mock function with given fields:
   111  func (_m *SqlStore) Close() {
   112  	_m.Called()
   113  }
   114  
   115  // ClusterDiscovery provides a mock function with given fields:
   116  func (_m *SqlStore) ClusterDiscovery() store.ClusterDiscoveryStore {
   117  	ret := _m.Called()
   118  
   119  	var r0 store.ClusterDiscoveryStore
   120  	if rf, ok := ret.Get(0).(func() store.ClusterDiscoveryStore); ok {
   121  		r0 = rf()
   122  	} else {
   123  		if ret.Get(0) != nil {
   124  			r0 = ret.Get(0).(store.ClusterDiscoveryStore)
   125  		}
   126  	}
   127  
   128  	return r0
   129  }
   130  
   131  // Command provides a mock function with given fields:
   132  func (_m *SqlStore) Command() store.CommandStore {
   133  	ret := _m.Called()
   134  
   135  	var r0 store.CommandStore
   136  	if rf, ok := ret.Get(0).(func() store.CommandStore); ok {
   137  		r0 = rf()
   138  	} else {
   139  		if ret.Get(0) != nil {
   140  			r0 = ret.Get(0).(store.CommandStore)
   141  		}
   142  	}
   143  
   144  	return r0
   145  }
   146  
   147  // CommandWebhook provides a mock function with given fields:
   148  func (_m *SqlStore) CommandWebhook() store.CommandWebhookStore {
   149  	ret := _m.Called()
   150  
   151  	var r0 store.CommandWebhookStore
   152  	if rf, ok := ret.Get(0).(func() store.CommandWebhookStore); ok {
   153  		r0 = rf()
   154  	} else {
   155  		if ret.Get(0) != nil {
   156  			r0 = ret.Get(0).(store.CommandWebhookStore)
   157  		}
   158  	}
   159  
   160  	return r0
   161  }
   162  
   163  // Compliance provides a mock function with given fields:
   164  func (_m *SqlStore) Compliance() store.ComplianceStore {
   165  	ret := _m.Called()
   166  
   167  	var r0 store.ComplianceStore
   168  	if rf, ok := ret.Get(0).(func() store.ComplianceStore); ok {
   169  		r0 = rf()
   170  	} else {
   171  		if ret.Get(0) != nil {
   172  			r0 = ret.Get(0).(store.ComplianceStore)
   173  		}
   174  	}
   175  
   176  	return r0
   177  }
   178  
   179  // CreateColumnIfNotExists provides a mock function with given fields: tableName, columnName, mySqlColType, postgresColType, defaultValue
   180  func (_m *SqlStore) CreateColumnIfNotExists(tableName string, columnName string, mySqlColType string, postgresColType string, defaultValue string) bool {
   181  	ret := _m.Called(tableName, columnName, mySqlColType, postgresColType, defaultValue)
   182  
   183  	var r0 bool
   184  	if rf, ok := ret.Get(0).(func(string, string, string, string, string) bool); ok {
   185  		r0 = rf(tableName, columnName, mySqlColType, postgresColType, defaultValue)
   186  	} else {
   187  		r0 = ret.Get(0).(bool)
   188  	}
   189  
   190  	return r0
   191  }
   192  
   193  // CreateColumnIfNotExistsNoDefault provides a mock function with given fields: tableName, columnName, mySqlColType, postgresColType
   194  func (_m *SqlStore) CreateColumnIfNotExistsNoDefault(tableName string, columnName string, mySqlColType string, postgresColType string) bool {
   195  	ret := _m.Called(tableName, columnName, mySqlColType, postgresColType)
   196  
   197  	var r0 bool
   198  	if rf, ok := ret.Get(0).(func(string, string, string, string) bool); ok {
   199  		r0 = rf(tableName, columnName, mySqlColType, postgresColType)
   200  	} else {
   201  		r0 = ret.Get(0).(bool)
   202  	}
   203  
   204  	return r0
   205  }
   206  
   207  // CreateCompositeIndexIfNotExists provides a mock function with given fields: indexName, tableName, columnNames
   208  func (_m *SqlStore) CreateCompositeIndexIfNotExists(indexName string, tableName string, columnNames []string) bool {
   209  	ret := _m.Called(indexName, tableName, columnNames)
   210  
   211  	var r0 bool
   212  	if rf, ok := ret.Get(0).(func(string, string, []string) bool); ok {
   213  		r0 = rf(indexName, tableName, columnNames)
   214  	} else {
   215  		r0 = ret.Get(0).(bool)
   216  	}
   217  
   218  	return r0
   219  }
   220  
   221  // CreateFullTextIndexIfNotExists provides a mock function with given fields: indexName, tableName, columnName
   222  func (_m *SqlStore) CreateFullTextIndexIfNotExists(indexName string, tableName string, columnName string) bool {
   223  	ret := _m.Called(indexName, tableName, columnName)
   224  
   225  	var r0 bool
   226  	if rf, ok := ret.Get(0).(func(string, string, string) bool); ok {
   227  		r0 = rf(indexName, tableName, columnName)
   228  	} else {
   229  		r0 = ret.Get(0).(bool)
   230  	}
   231  
   232  	return r0
   233  }
   234  
   235  // CreateIndexIfNotExists provides a mock function with given fields: indexName, tableName, columnName
   236  func (_m *SqlStore) CreateIndexIfNotExists(indexName string, tableName string, columnName string) bool {
   237  	ret := _m.Called(indexName, tableName, columnName)
   238  
   239  	var r0 bool
   240  	if rf, ok := ret.Get(0).(func(string, string, string) bool); ok {
   241  		r0 = rf(indexName, tableName, columnName)
   242  	} else {
   243  		r0 = ret.Get(0).(bool)
   244  	}
   245  
   246  	return r0
   247  }
   248  
   249  // CreateUniqueIndexIfNotExists provides a mock function with given fields: indexName, tableName, columnName
   250  func (_m *SqlStore) CreateUniqueIndexIfNotExists(indexName string, tableName string, columnName string) bool {
   251  	ret := _m.Called(indexName, tableName, columnName)
   252  
   253  	var r0 bool
   254  	if rf, ok := ret.Get(0).(func(string, string, string) bool); ok {
   255  		r0 = rf(indexName, tableName, columnName)
   256  	} else {
   257  		r0 = ret.Get(0).(bool)
   258  	}
   259  
   260  	return r0
   261  }
   262  
   263  // DoesColumnExist provides a mock function with given fields: tableName, columName
   264  func (_m *SqlStore) DoesColumnExist(tableName string, columName string) bool {
   265  	ret := _m.Called(tableName, columName)
   266  
   267  	var r0 bool
   268  	if rf, ok := ret.Get(0).(func(string, string) bool); ok {
   269  		r0 = rf(tableName, columName)
   270  	} else {
   271  		r0 = ret.Get(0).(bool)
   272  	}
   273  
   274  	return r0
   275  }
   276  
   277  // DoesTableExist provides a mock function with given fields: tablename
   278  func (_m *SqlStore) DoesTableExist(tablename string) bool {
   279  	ret := _m.Called(tablename)
   280  
   281  	var r0 bool
   282  	if rf, ok := ret.Get(0).(func(string) bool); ok {
   283  		r0 = rf(tablename)
   284  	} else {
   285  		r0 = ret.Get(0).(bool)
   286  	}
   287  
   288  	return r0
   289  }
   290  
   291  // DoesTriggerExist provides a mock function with given fields: triggerName
   292  func (_m *SqlStore) DoesTriggerExist(triggerName string) bool {
   293  	ret := _m.Called(triggerName)
   294  
   295  	var r0 bool
   296  	if rf, ok := ret.Get(0).(func(string) bool); ok {
   297  		r0 = rf(triggerName)
   298  	} else {
   299  		r0 = ret.Get(0).(bool)
   300  	}
   301  
   302  	return r0
   303  }
   304  
   305  // DriverName provides a mock function with given fields:
   306  func (_m *SqlStore) DriverName() string {
   307  	ret := _m.Called()
   308  
   309  	var r0 string
   310  	if rf, ok := ret.Get(0).(func() string); ok {
   311  		r0 = rf()
   312  	} else {
   313  		r0 = ret.Get(0).(string)
   314  	}
   315  
   316  	return r0
   317  }
   318  
   319  // Emoji provides a mock function with given fields:
   320  func (_m *SqlStore) Emoji() store.EmojiStore {
   321  	ret := _m.Called()
   322  
   323  	var r0 store.EmojiStore
   324  	if rf, ok := ret.Get(0).(func() store.EmojiStore); ok {
   325  		r0 = rf()
   326  	} else {
   327  		if ret.Get(0) != nil {
   328  			r0 = ret.Get(0).(store.EmojiStore)
   329  		}
   330  	}
   331  
   332  	return r0
   333  }
   334  
   335  // FileInfo provides a mock function with given fields:
   336  func (_m *SqlStore) FileInfo() store.FileInfoStore {
   337  	ret := _m.Called()
   338  
   339  	var r0 store.FileInfoStore
   340  	if rf, ok := ret.Get(0).(func() store.FileInfoStore); ok {
   341  		r0 = rf()
   342  	} else {
   343  		if ret.Get(0) != nil {
   344  			r0 = ret.Get(0).(store.FileInfoStore)
   345  		}
   346  	}
   347  
   348  	return r0
   349  }
   350  
   351  // GetAllConns provides a mock function with given fields:
   352  func (_m *SqlStore) GetAllConns() []*gorp.DbMap {
   353  	ret := _m.Called()
   354  
   355  	var r0 []*gorp.DbMap
   356  	if rf, ok := ret.Get(0).(func() []*gorp.DbMap); ok {
   357  		r0 = rf()
   358  	} else {
   359  		if ret.Get(0) != nil {
   360  			r0 = ret.Get(0).([]*gorp.DbMap)
   361  		}
   362  	}
   363  
   364  	return r0
   365  }
   366  
   367  // GetCurrentSchemaVersion provides a mock function with given fields:
   368  func (_m *SqlStore) GetCurrentSchemaVersion() string {
   369  	ret := _m.Called()
   370  
   371  	var r0 string
   372  	if rf, ok := ret.Get(0).(func() string); ok {
   373  		r0 = rf()
   374  	} else {
   375  		r0 = ret.Get(0).(string)
   376  	}
   377  
   378  	return r0
   379  }
   380  
   381  // GetMaster provides a mock function with given fields:
   382  func (_m *SqlStore) GetMaster() *gorp.DbMap {
   383  	ret := _m.Called()
   384  
   385  	var r0 *gorp.DbMap
   386  	if rf, ok := ret.Get(0).(func() *gorp.DbMap); ok {
   387  		r0 = rf()
   388  	} else {
   389  		if ret.Get(0) != nil {
   390  			r0 = ret.Get(0).(*gorp.DbMap)
   391  		}
   392  	}
   393  
   394  	return r0
   395  }
   396  
   397  // GetMaxLengthOfColumnIfExists provides a mock function with given fields: tableName, columnName
   398  func (_m *SqlStore) GetMaxLengthOfColumnIfExists(tableName string, columnName string) string {
   399  	ret := _m.Called(tableName, columnName)
   400  
   401  	var r0 string
   402  	if rf, ok := ret.Get(0).(func(string, string) string); ok {
   403  		r0 = rf(tableName, columnName)
   404  	} else {
   405  		r0 = ret.Get(0).(string)
   406  	}
   407  
   408  	return r0
   409  }
   410  
   411  // GetReplica provides a mock function with given fields:
   412  func (_m *SqlStore) GetReplica() *gorp.DbMap {
   413  	ret := _m.Called()
   414  
   415  	var r0 *gorp.DbMap
   416  	if rf, ok := ret.Get(0).(func() *gorp.DbMap); ok {
   417  		r0 = rf()
   418  	} else {
   419  		if ret.Get(0) != nil {
   420  			r0 = ret.Get(0).(*gorp.DbMap)
   421  		}
   422  	}
   423  
   424  	return r0
   425  }
   426  
   427  // GetSearchReplica provides a mock function with given fields:
   428  func (_m *SqlStore) GetSearchReplica() *gorp.DbMap {
   429  	ret := _m.Called()
   430  
   431  	var r0 *gorp.DbMap
   432  	if rf, ok := ret.Get(0).(func() *gorp.DbMap); ok {
   433  		r0 = rf()
   434  	} else {
   435  		if ret.Get(0) != nil {
   436  			r0 = ret.Get(0).(*gorp.DbMap)
   437  		}
   438  	}
   439  
   440  	return r0
   441  }
   442  
   443  // Job provides a mock function with given fields:
   444  func (_m *SqlStore) Job() store.JobStore {
   445  	ret := _m.Called()
   446  
   447  	var r0 store.JobStore
   448  	if rf, ok := ret.Get(0).(func() store.JobStore); ok {
   449  		r0 = rf()
   450  	} else {
   451  		if ret.Get(0) != nil {
   452  			r0 = ret.Get(0).(store.JobStore)
   453  		}
   454  	}
   455  
   456  	return r0
   457  }
   458  
   459  // License provides a mock function with given fields:
   460  func (_m *SqlStore) License() store.LicenseStore {
   461  	ret := _m.Called()
   462  
   463  	var r0 store.LicenseStore
   464  	if rf, ok := ret.Get(0).(func() store.LicenseStore); ok {
   465  		r0 = rf()
   466  	} else {
   467  		if ret.Get(0) != nil {
   468  			r0 = ret.Get(0).(store.LicenseStore)
   469  		}
   470  	}
   471  
   472  	return r0
   473  }
   474  
   475  // LinkMetadata provides a mock function with given fields:
   476  func (_m *SqlStore) LinkMetadata() store.LinkMetadataStore {
   477  	ret := _m.Called()
   478  
   479  	var r0 store.LinkMetadataStore
   480  	if rf, ok := ret.Get(0).(func() store.LinkMetadataStore); ok {
   481  		r0 = rf()
   482  	} else {
   483  		if ret.Get(0) != nil {
   484  			r0 = ret.Get(0).(store.LinkMetadataStore)
   485  		}
   486  	}
   487  
   488  	return r0
   489  }
   490  
   491  // LockToMaster provides a mock function with given fields:
   492  func (_m *SqlStore) LockToMaster() {
   493  	_m.Called()
   494  }
   495  
   496  // MarkSystemRanUnitTests provides a mock function with given fields:
   497  func (_m *SqlStore) MarkSystemRanUnitTests() {
   498  	_m.Called()
   499  }
   500  
   501  // OAuth provides a mock function with given fields:
   502  func (_m *SqlStore) OAuth() store.OAuthStore {
   503  	ret := _m.Called()
   504  
   505  	var r0 store.OAuthStore
   506  	if rf, ok := ret.Get(0).(func() store.OAuthStore); ok {
   507  		r0 = rf()
   508  	} else {
   509  		if ret.Get(0) != nil {
   510  			r0 = ret.Get(0).(store.OAuthStore)
   511  		}
   512  	}
   513  
   514  	return r0
   515  }
   516  
   517  // Plugin provides a mock function with given fields:
   518  func (_m *SqlStore) Plugin() store.PluginStore {
   519  	ret := _m.Called()
   520  
   521  	var r0 store.PluginStore
   522  	if rf, ok := ret.Get(0).(func() store.PluginStore); ok {
   523  		r0 = rf()
   524  	} else {
   525  		if ret.Get(0) != nil {
   526  			r0 = ret.Get(0).(store.PluginStore)
   527  		}
   528  	}
   529  
   530  	return r0
   531  }
   532  
   533  // Post provides a mock function with given fields:
   534  func (_m *SqlStore) Post() store.PostStore {
   535  	ret := _m.Called()
   536  
   537  	var r0 store.PostStore
   538  	if rf, ok := ret.Get(0).(func() store.PostStore); ok {
   539  		r0 = rf()
   540  	} else {
   541  		if ret.Get(0) != nil {
   542  			r0 = ret.Get(0).(store.PostStore)
   543  		}
   544  	}
   545  
   546  	return r0
   547  }
   548  
   549  // Preference provides a mock function with given fields:
   550  func (_m *SqlStore) Preference() store.PreferenceStore {
   551  	ret := _m.Called()
   552  
   553  	var r0 store.PreferenceStore
   554  	if rf, ok := ret.Get(0).(func() store.PreferenceStore); ok {
   555  		r0 = rf()
   556  	} else {
   557  		if ret.Get(0) != nil {
   558  			r0 = ret.Get(0).(store.PreferenceStore)
   559  		}
   560  	}
   561  
   562  	return r0
   563  }
   564  
   565  // Reaction provides a mock function with given fields:
   566  func (_m *SqlStore) Reaction() store.ReactionStore {
   567  	ret := _m.Called()
   568  
   569  	var r0 store.ReactionStore
   570  	if rf, ok := ret.Get(0).(func() store.ReactionStore); ok {
   571  		r0 = rf()
   572  	} else {
   573  		if ret.Get(0) != nil {
   574  			r0 = ret.Get(0).(store.ReactionStore)
   575  		}
   576  	}
   577  
   578  	return r0
   579  }
   580  
   581  // RemoveColumnIfExists provides a mock function with given fields: tableName, columnName
   582  func (_m *SqlStore) RemoveColumnIfExists(tableName string, columnName string) bool {
   583  	ret := _m.Called(tableName, columnName)
   584  
   585  	var r0 bool
   586  	if rf, ok := ret.Get(0).(func(string, string) bool); ok {
   587  		r0 = rf(tableName, columnName)
   588  	} else {
   589  		r0 = ret.Get(0).(bool)
   590  	}
   591  
   592  	return r0
   593  }
   594  
   595  // RemoveIndexIfExists provides a mock function with given fields: indexName, tableName
   596  func (_m *SqlStore) RemoveIndexIfExists(indexName string, tableName string) bool {
   597  	ret := _m.Called(indexName, tableName)
   598  
   599  	var r0 bool
   600  	if rf, ok := ret.Get(0).(func(string, string) bool); ok {
   601  		r0 = rf(indexName, tableName)
   602  	} else {
   603  		r0 = ret.Get(0).(bool)
   604  	}
   605  
   606  	return r0
   607  }
   608  
   609  // RemoveTableIfExists provides a mock function with given fields: tableName
   610  func (_m *SqlStore) RemoveTableIfExists(tableName string) bool {
   611  	ret := _m.Called(tableName)
   612  
   613  	var r0 bool
   614  	if rf, ok := ret.Get(0).(func(string) bool); ok {
   615  		r0 = rf(tableName)
   616  	} else {
   617  		r0 = ret.Get(0).(bool)
   618  	}
   619  
   620  	return r0
   621  }
   622  
   623  // RenameColumnIfExists provides a mock function with given fields: tableName, oldColumnName, newColumnName, colType
   624  func (_m *SqlStore) RenameColumnIfExists(tableName string, oldColumnName string, newColumnName string, colType string) bool {
   625  	ret := _m.Called(tableName, oldColumnName, newColumnName, colType)
   626  
   627  	var r0 bool
   628  	if rf, ok := ret.Get(0).(func(string, string, string, string) bool); ok {
   629  		r0 = rf(tableName, oldColumnName, newColumnName, colType)
   630  	} else {
   631  		r0 = ret.Get(0).(bool)
   632  	}
   633  
   634  	return r0
   635  }
   636  
   637  // Role provides a mock function with given fields:
   638  func (_m *SqlStore) Role() store.RoleStore {
   639  	ret := _m.Called()
   640  
   641  	var r0 store.RoleStore
   642  	if rf, ok := ret.Get(0).(func() store.RoleStore); ok {
   643  		r0 = rf()
   644  	} else {
   645  		if ret.Get(0) != nil {
   646  			r0 = ret.Get(0).(store.RoleStore)
   647  		}
   648  	}
   649  
   650  	return r0
   651  }
   652  
   653  // Scheme provides a mock function with given fields:
   654  func (_m *SqlStore) Scheme() store.SchemeStore {
   655  	ret := _m.Called()
   656  
   657  	var r0 store.SchemeStore
   658  	if rf, ok := ret.Get(0).(func() store.SchemeStore); ok {
   659  		r0 = rf()
   660  	} else {
   661  		if ret.Get(0) != nil {
   662  			r0 = ret.Get(0).(store.SchemeStore)
   663  		}
   664  	}
   665  
   666  	return r0
   667  }
   668  
   669  // Session provides a mock function with given fields:
   670  func (_m *SqlStore) Session() store.SessionStore {
   671  	ret := _m.Called()
   672  
   673  	var r0 store.SessionStore
   674  	if rf, ok := ret.Get(0).(func() store.SessionStore); ok {
   675  		r0 = rf()
   676  	} else {
   677  		if ret.Get(0) != nil {
   678  			r0 = ret.Get(0).(store.SessionStore)
   679  		}
   680  	}
   681  
   682  	return r0
   683  }
   684  
   685  // Status provides a mock function with given fields:
   686  func (_m *SqlStore) Status() store.StatusStore {
   687  	ret := _m.Called()
   688  
   689  	var r0 store.StatusStore
   690  	if rf, ok := ret.Get(0).(func() store.StatusStore); ok {
   691  		r0 = rf()
   692  	} else {
   693  		if ret.Get(0) != nil {
   694  			r0 = ret.Get(0).(store.StatusStore)
   695  		}
   696  	}
   697  
   698  	return r0
   699  }
   700  
   701  // System provides a mock function with given fields:
   702  func (_m *SqlStore) System() store.SystemStore {
   703  	ret := _m.Called()
   704  
   705  	var r0 store.SystemStore
   706  	if rf, ok := ret.Get(0).(func() store.SystemStore); ok {
   707  		r0 = rf()
   708  	} else {
   709  		if ret.Get(0) != nil {
   710  			r0 = ret.Get(0).(store.SystemStore)
   711  		}
   712  	}
   713  
   714  	return r0
   715  }
   716  
   717  // Team provides a mock function with given fields:
   718  func (_m *SqlStore) Team() store.TeamStore {
   719  	ret := _m.Called()
   720  
   721  	var r0 store.TeamStore
   722  	if rf, ok := ret.Get(0).(func() store.TeamStore); ok {
   723  		r0 = rf()
   724  	} else {
   725  		if ret.Get(0) != nil {
   726  			r0 = ret.Get(0).(store.TeamStore)
   727  		}
   728  	}
   729  
   730  	return r0
   731  }
   732  
   733  // TermsOfService provides a mock function with given fields:
   734  func (_m *SqlStore) TermsOfService() store.TermsOfServiceStore {
   735  	ret := _m.Called()
   736  
   737  	var r0 store.TermsOfServiceStore
   738  	if rf, ok := ret.Get(0).(func() store.TermsOfServiceStore); ok {
   739  		r0 = rf()
   740  	} else {
   741  		if ret.Get(0) != nil {
   742  			r0 = ret.Get(0).(store.TermsOfServiceStore)
   743  		}
   744  	}
   745  
   746  	return r0
   747  }
   748  
   749  // Token provides a mock function with given fields:
   750  func (_m *SqlStore) Token() store.TokenStore {
   751  	ret := _m.Called()
   752  
   753  	var r0 store.TokenStore
   754  	if rf, ok := ret.Get(0).(func() store.TokenStore); ok {
   755  		r0 = rf()
   756  	} else {
   757  		if ret.Get(0) != nil {
   758  			r0 = ret.Get(0).(store.TokenStore)
   759  		}
   760  	}
   761  
   762  	return r0
   763  }
   764  
   765  // TotalMasterDbConnections provides a mock function with given fields:
   766  func (_m *SqlStore) TotalMasterDbConnections() int {
   767  	ret := _m.Called()
   768  
   769  	var r0 int
   770  	if rf, ok := ret.Get(0).(func() int); ok {
   771  		r0 = rf()
   772  	} else {
   773  		r0 = ret.Get(0).(int)
   774  	}
   775  
   776  	return r0
   777  }
   778  
   779  // TotalReadDbConnections provides a mock function with given fields:
   780  func (_m *SqlStore) TotalReadDbConnections() int {
   781  	ret := _m.Called()
   782  
   783  	var r0 int
   784  	if rf, ok := ret.Get(0).(func() int); ok {
   785  		r0 = rf()
   786  	} else {
   787  		r0 = ret.Get(0).(int)
   788  	}
   789  
   790  	return r0
   791  }
   792  
   793  // TotalSearchDbConnections provides a mock function with given fields:
   794  func (_m *SqlStore) TotalSearchDbConnections() int {
   795  	ret := _m.Called()
   796  
   797  	var r0 int
   798  	if rf, ok := ret.Get(0).(func() int); ok {
   799  		r0 = rf()
   800  	} else {
   801  		r0 = ret.Get(0).(int)
   802  	}
   803  
   804  	return r0
   805  }
   806  
   807  // UnlockFromMaster provides a mock function with given fields:
   808  func (_m *SqlStore) UnlockFromMaster() {
   809  	_m.Called()
   810  }
   811  
   812  // User provides a mock function with given fields:
   813  func (_m *SqlStore) User() store.UserStore {
   814  	ret := _m.Called()
   815  
   816  	var r0 store.UserStore
   817  	if rf, ok := ret.Get(0).(func() store.UserStore); ok {
   818  		r0 = rf()
   819  	} else {
   820  		if ret.Get(0) != nil {
   821  			r0 = ret.Get(0).(store.UserStore)
   822  		}
   823  	}
   824  
   825  	return r0
   826  }
   827  
   828  // UserAccessToken provides a mock function with given fields:
   829  func (_m *SqlStore) UserAccessToken() store.UserAccessTokenStore {
   830  	ret := _m.Called()
   831  
   832  	var r0 store.UserAccessTokenStore
   833  	if rf, ok := ret.Get(0).(func() store.UserAccessTokenStore); ok {
   834  		r0 = rf()
   835  	} else {
   836  		if ret.Get(0) != nil {
   837  			r0 = ret.Get(0).(store.UserAccessTokenStore)
   838  		}
   839  	}
   840  
   841  	return r0
   842  }
   843  
   844  // UserTermsOfService provides a mock function with given fields:
   845  func (_m *SqlStore) UserTermsOfService() store.UserTermsOfServiceStore {
   846  	ret := _m.Called()
   847  
   848  	var r0 store.UserTermsOfServiceStore
   849  	if rf, ok := ret.Get(0).(func() store.UserTermsOfServiceStore); ok {
   850  		r0 = rf()
   851  	} else {
   852  		if ret.Get(0) != nil {
   853  			r0 = ret.Get(0).(store.UserTermsOfServiceStore)
   854  		}
   855  	}
   856  
   857  	return r0
   858  }
   859  
   860  // Webhook provides a mock function with given fields:
   861  func (_m *SqlStore) Webhook() store.WebhookStore {
   862  	ret := _m.Called()
   863  
   864  	var r0 store.WebhookStore
   865  	if rf, ok := ret.Get(0).(func() store.WebhookStore); ok {
   866  		r0 = rf()
   867  	} else {
   868  		if ret.Get(0) != nil {
   869  			r0 = ret.Get(0).(store.WebhookStore)
   870  		}
   871  	}
   872  
   873  	return r0
   874  }
   875  
   876  // getQueryBuilder provides a mock function with given fields:
   877  func (_m *SqlStore) getQueryBuilder() squirrel.StatementBuilderType {
   878  	ret := _m.Called()
   879  
   880  	var r0 squirrel.StatementBuilderType
   881  	if rf, ok := ret.Get(0).(func() squirrel.StatementBuilderType); ok {
   882  		r0 = rf()
   883  	} else {
   884  		r0 = ret.Get(0).(squirrel.StatementBuilderType)
   885  	}
   886  
   887  	return r0
   888  }