// Code generated by mockery 2.9.0. DO NOT EDIT.

package users

import (
	context "context"

	models "code.justin.tv/web/users-service/models"
	mock "github.com/stretchr/testify/mock"

	twitchclient "code.justin.tv/foundation/twitchclient"
)

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

// GetUserByID provides a mock function with given fields: ctx, userID, reqOpts
func (_m *MockClient) GetUserByID(ctx context.Context, userID string, reqOpts *twitchclient.ReqOpts) (*models.Properties, error) {
	ret := _m.Called(ctx, userID, reqOpts)

	var r0 *models.Properties
	if rf, ok := ret.Get(0).(func(context.Context, string, *twitchclient.ReqOpts) *models.Properties); ok {
		r0 = rf(ctx, userID, reqOpts)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*models.Properties)
		}
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(context.Context, string, *twitchclient.ReqOpts) error); ok {
		r1 = rf(ctx, userID, reqOpts)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}
