//go:build !ignore_autogenerated
// +build !ignore_autogenerated

// Code generated by mga tool. DO NOT EDIT.

package auth

import (
	"github.com/stretchr/testify/mock"
	"time"
)

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

// GenerateToken provides a mock function.
func (_m *MockTokenGenerator) GenerateToken(sub string, expiresAt time.Time, tokenType string, tokenText string) (_result_0 string, _result_1 string, _result_2 error) {
	ret := _m.Called(sub, expiresAt, tokenType, tokenText)

	var r0 string
	if rf, ok := ret.Get(0).(func(string, time.Time, string, string) string); ok {
		r0 = rf(sub, expiresAt, tokenType, tokenText)
	} else {
		r0 = ret.Get(0).(string)
	}

	var r1 string
	if rf, ok := ret.Get(1).(func(string, time.Time, string, string) string); ok {
		r1 = rf(sub, expiresAt, tokenType, tokenText)
	} else {
		r1 = ret.Get(1).(string)
	}

	var r2 error
	if rf, ok := ret.Get(2).(func(string, time.Time, string, string) error); ok {
		r2 = rf(sub, expiresAt, tokenType, tokenText)
	} else {
		r2 = ret.Error(2)
	}

	return r0, r1, r2
}
