summaryrefslogtreecommitdiffstats
path: root/store/storetest/mocks/SqlSupplier.go
blob: 4a844524d3a73902a8a6b049f4a9e41d449995ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Code generated by mockery v1.0.0. DO NOT EDIT.

// Regenerate this file using `make store-mocks`.

package mocks

import gorp "github.com/mattermost/gorp"
import mock "github.com/stretchr/testify/mock"

// SqlSupplier is an autogenerated mock type for the SqlSupplier type
type SqlSupplier struct {
	mock.Mock
}

// GetMaster provides a mock function with given fields:
func (_m *SqlSupplier) GetMaster() *gorp.DbMap {
	ret := _m.Called()

	var r0 *gorp.DbMap
	if rf, ok := ret.Get(0).(func() *gorp.DbMap); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*gorp.DbMap)
		}
	}

	return r0
}