mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-24 13:43:12 +02:00
81b0fd8453
* fix merge conflicts * fix linter --------- Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
51 lines
1.6 KiB
Go
51 lines
1.6 KiB
Go
// Code generated by MockGen. DO NOT EDIT.
|
|
// Source: github.com/mattermost/focalboard/server/model (interfaces: PropValueResolver)
|
|
|
|
// Package mocks is a generated GoMock package.
|
|
package mocks
|
|
|
|
import (
|
|
reflect "reflect"
|
|
|
|
gomock "github.com/golang/mock/gomock"
|
|
model "github.com/mattermost/focalboard/server/model"
|
|
)
|
|
|
|
// MockPropValueResolver is a mock of PropValueResolver interface.
|
|
type MockPropValueResolver struct {
|
|
ctrl *gomock.Controller
|
|
recorder *MockPropValueResolverMockRecorder
|
|
}
|
|
|
|
// MockPropValueResolverMockRecorder is the mock recorder for MockPropValueResolver.
|
|
type MockPropValueResolverMockRecorder struct {
|
|
mock *MockPropValueResolver
|
|
}
|
|
|
|
// NewMockPropValueResolver creates a new mock instance.
|
|
func NewMockPropValueResolver(ctrl *gomock.Controller) *MockPropValueResolver {
|
|
mock := &MockPropValueResolver{ctrl: ctrl}
|
|
mock.recorder = &MockPropValueResolverMockRecorder{mock}
|
|
return mock
|
|
}
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
|
func (m *MockPropValueResolver) EXPECT() *MockPropValueResolverMockRecorder {
|
|
return m.recorder
|
|
}
|
|
|
|
// GetUserByID mocks base method.
|
|
func (m *MockPropValueResolver) GetUserByID(arg0 string) (*model.User, error) {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "GetUserByID", arg0)
|
|
ret0, _ := ret[0].(*model.User)
|
|
ret1, _ := ret[1].(error)
|
|
return ret0, ret1
|
|
}
|
|
|
|
// GetUserByID indicates an expected call of GetUserByID.
|
|
func (mr *MockPropValueResolverMockRecorder) GetUserByID(arg0 interface{}) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUserByID", reflect.TypeOf((*MockPropValueResolver)(nil).GetUserByID), arg0)
|
|
}
|