// Code generated by mockery v2.12.2. DO NOT EDIT. package mocks import ( context "context" store "git.netflux.io/rob/elon-eats-my-tweets/generated/store" mock "github.com/stretchr/testify/mock" testing "testing" ) // Store is an autogenerated mock type for the Store type type Store struct { mock.Mock } // CreateUser provides a mock function with given fields: _a0, _a1 func (_m *Store) CreateUser(_a0 context.Context, _a1 store.CreateUserParams) (store.User, error) { ret := _m.Called(_a0, _a1) var r0 store.User if rf, ok := ret.Get(0).(func(context.Context, store.CreateUserParams) store.User); ok { r0 = rf(_a0, _a1) } else { r0 = ret.Get(0).(store.User) } var r1 error if rf, ok := ret.Get(1).(func(context.Context, store.CreateUserParams) error); ok { r1 = rf(_a0, _a1) } else { r1 = ret.Error(1) } return r0, r1 } // NewStore creates a new instance of Store. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations. func NewStore(t testing.TB) *Store { mock := &Store{} mock.Mock.Test(t) t.Cleanup(func() { mock.AssertExpectations(t) }) return mock }