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

package hallpass

import (
	context "context"

	twitchclient "code.justin.tv/foundation/twitchclient"
	mock "github.com/stretchr/testify/mock"

	view "code.justin.tv/cb/hallpass/view"
)

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

// GetV1IsEditor provides a mock function with given fields: ctx, channelID, editorID, reqOpts
func (_m *MockClient) GetV1IsEditor(ctx context.Context, channelID string, editorID string, reqOpts *twitchclient.ReqOpts) (*view.GetIsEditorResponse, error) {
	ret := _m.Called(ctx, channelID, editorID, reqOpts)

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

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

	return r0, r1
}
