func (_m *Users) GetByID(_a0 context.Context, _a1 int64) (*github.User, *github.Response, error) {
	ret := _m.Called(_a0, _a1)
	var r0 *github.User
	if rf, ok := ret.Get(0).(func(context.Context, int64) *github.User); ok {
		r0 = rf(_a0, _a1)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*github.User)
		}
	}
	var r1 *github.Response
	if rf, ok := ret.Get(1).(func(context.Context, int64) *github.Response); ok {
		r1 = rf(_a0, _a1)
	} else {
		if ret.Get(1) != nil {
			r1 = ret.Get(1).(*github.Response)
		}
	}
	var r2 error
	if rf, ok := ret.Get(2).(func(context.Context, int64) error); ok {
		r2 = rf(_a0, _a1)
	} else {
		r2 = ret.Error(2)
	}
	return r0, r1, r2
}
GetByID provides a mock function with given fields: _a0, _a1
package mocks
import (
	context "context"
	github "github.com/google/go-github/v35/github"
	mock "github.com/stretchr/testify/mock"
)
type Users struct {
	mock.Mock
}
func (_m *Users) AcceptInvitation(_a0 context.Context, _a1 int64) (*github.Response, error) {
	ret := _m.Called(_a0, _a1)
	var r0 *github.Response
	if rf, ok := ret.Get(0).(func(context.Context, int64) *github.Response); ok {
		r0 = rf(_a0, _a1)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*github.Response)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(context.Context, int64) error); ok {
		r1 = rf(_a0, _a1)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *Users) AddEmails(_a0 context.Context, _a1 []string) ([]*github.UserEmail, *github.Response, error) {
	ret := _m.Called(_a0, _a1)
	var r0 []*github.UserEmail
	if rf, ok := ret.Get(0).(func(context.Context, []string) []*github.UserEmail); ok {
		r0 = rf(_a0, _a1)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]*github.UserEmail)
		}
	}
	var r1 *github.Response
	if rf, ok := ret.Get(1).(func(context.Context, []string) *github.Response); ok {
		r1 = rf(_a0, _a1)
	} else {
		if ret.Get(1) != nil {
			r1 = ret.Get(1).(*github.Response)
		}
	}
	var r2 error
	if rf, ok := ret.Get(2).(func(context.Context, []string) error); ok {
		r2 = rf(_a0, _a1)
	} else {
		r2 = ret.Error(2)
	}
	return r0, r1, r2
}
func (_m *Users) BlockUser(_a0 context.Context, _a1 string) (*github.Response, error) {
	ret := _m.Called(_a0, _a1)
	var r0 *github.Response
	if rf, ok := ret.Get(0).(func(context.Context, string) *github.Response); ok {
		r0 = rf(_a0, _a1)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*github.Response)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(context.Context, string) error); ok {
		r1 = rf(_a0, _a1)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *Users) CreateGPGKey(_a0 context.Context, _a1 string) (*github.GPGKey, *github.Response, error) {
	ret := _m.Called(_a0, _a1)
	var r0 *github.GPGKey
	if rf, ok := ret.Get(0).(func(context.Context, string) *github.GPGKey); ok {
		r0 = rf(_a0, _a1)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*github.GPGKey)
		}
	}
	var r1 *github.Response
	if rf, ok := ret.Get(1).(func(context.Context, string) *github.Response); ok {
		r1 = rf(_a0, _a1)
	} else {
		if ret.Get(1) != nil {
			r1 = ret.Get(1).(*github.Response)
		}
	}
	var r2 error
	if rf, ok := ret.Get(2).(func(context.Context, string) error); ok {
		r2 = rf(_a0, _a1)
	} else {
		r2 = ret.Error(2)
	}
	return r0, r1, r2
}
func (_m *Users) CreateKey(_a0 context.Context, _a1 *github.Key) (*github.Key, *github.Response, error) {
	ret := _m.Called(_a0, _a1)
	var r0 *github.Key
	if rf, ok := ret.Get(0).(func(context.Context, *github.Key) *github.Key); ok {
		r0 = rf(_a0, _a1)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*github.Key)
		}
	}
	var r1 *github.Response
	if rf, ok := ret.Get(1).(func(context.Context, *github.Key) *github.Response); ok {
		r1 = rf(_a0, _a1)
	} else {
		if ret.Get(1) != nil {
			r1 = ret.Get(1).(*github.Response)
		}
	}
	var r2 error
	if rf, ok := ret.Get(2).(func(context.Context, *github.Key) error); ok {
		r2 = rf(_a0, _a1)
	} else {
		r2 = ret.Error(2)
	}
	return r0, r1, r2
}
func (_m *Users) CreateProject(_a0 context.Context, _a1 *github.CreateUserProjectOptions) (*github.Project, *github.Response, error) {
	ret := _m.Called(_a0, _a1)
	var r0 *github.Project
	if rf, ok := ret.Get(0).(func(context.Context, *github.CreateUserProjectOptions) *github.Project); ok {
		r0 = rf(_a0, _a1)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*github.Project)
		}
	}
	var r1 *github.Response
	if rf, ok := ret.Get(1).(func(context.Context, *github.CreateUserProjectOptions) *github.Response); ok {
		r1 = rf(_a0, _a1)
	} else {
		if ret.Get(1) != nil {
			r1 = ret.Get(1).(*github.Response)
		}
	}
	var r2 error
	if rf, ok := ret.Get(2).(func(context.Context, *github.CreateUserProjectOptions) error); ok {
		r2 = rf(_a0, _a1)
	} else {
		r2 = ret.Error(2)
	}
	return r0, r1, r2
}
func (_m *Users) DeclineInvitation(_a0 context.Context, _a1 int64) (*github.Response, error) {
	ret := _m.Called(_a0, _a1)
	var r0 *github.Response
	if rf, ok := ret.Get(0).(func(context.Context, int64) *github.Response); ok {
		r0 = rf(_a0, _a1)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*github.Response)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(context.Context, int64) error); ok {
		r1 = rf(_a0, _a1)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *Users) DeleteEmails(_a0 context.Context, _a1 []string) (*github.Response, error) {
	ret := _m.Called(_a0, _a1)
	var r0 *github.Response
	if rf, ok := ret.Get(0).(func(context.Context, []string) *github.Response); ok {
		r0 = rf(_a0, _a1)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*github.Response)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(context.Context, []string) error); ok {
		r1 = rf(_a0, _a1)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *Users) DeleteGPGKey(_a0 context.Context, _a1 int64) (*github.Response, error) {
	ret := _m.Called(_a0, _a1)
	var r0 *github.Response
	if rf, ok := ret.Get(0).(func(context.Context, int64) *github.Response); ok {
		r0 = rf(_a0, _a1)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*github.Response)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(context.Context, int64) error); ok {
		r1 = rf(_a0, _a1)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *Users) DeleteKey(_a0 context.Context, _a1 int64) (*github.Response, error) {
	ret := _m.Called(_a0, _a1)
	var r0 *github.Response
	if rf, ok := ret.Get(0).(func(context.Context, int64) *github.Response); ok {
		r0 = rf(_a0, _a1)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*github.Response)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(context.Context, int64) error); ok {
		r1 = rf(_a0, _a1)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *Users) DemoteSiteAdmin(_a0 context.Context, _a1 string) (*github.Response, error) {
	ret := _m.Called(_a0, _a1)
	var r0 *github.Response
	if rf, ok := ret.Get(0).(func(context.Context, string) *github.Response); ok {
		r0 = rf(_a0, _a1)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*github.Response)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(context.Context, string) error); ok {
		r1 = rf(_a0, _a1)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *Users) Edit(_a0 context.Context, _a1 *github.User) (*github.User, *github.Response, error) {
	ret := _m.Called(_a0, _a1)
	var r0 *github.User
	if rf, ok := ret.Get(0).(func(context.Context, *github.User) *github.User); ok {
		r0 = rf(_a0, _a1)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*github.User)
		}
	}
	var r1 *github.Response
	if rf, ok := ret.Get(1).(func(context.Context, *github.User) *github.Response); ok {
		r1 = rf(_a0, _a1)
	} else {
		if ret.Get(1) != nil {
			r1 = ret.Get(1).(*github.Response)
		}
	}
	var r2 error
	if rf, ok := ret.Get(2).(func(context.Context, *github.User) error); ok {
		r2 = rf(_a0, _a1)
	} else {
		r2 = ret.Error(2)
	}
	return r0, r1, r2
}
func (_m *Users) Follow(_a0 context.Context, _a1 string) (*github.Response, error) {
	ret := _m.Called(_a0, _a1)
	var r0 *github.Response
	if rf, ok := ret.Get(0).(func(context.Context, string) *github.Response); ok {
		r0 = rf(_a0, _a1)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*github.Response)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(context.Context, string) error); ok {
		r1 = rf(_a0, _a1)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *Users) Get(_a0 context.Context, _a1 string) (*github.User, *github.Response, error) {
	ret := _m.Called(_a0, _a1)
	var r0 *github.User
	if rf, ok := ret.Get(0).(func(context.Context, string) *github.User); ok {
		r0 = rf(_a0, _a1)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*github.User)
		}
	}
	var r1 *github.Response
	if rf, ok := ret.Get(1).(func(context.Context, string) *github.Response); ok {
		r1 = rf(_a0, _a1)
	} else {
		if ret.Get(1) != nil {
			r1 = ret.Get(1).(*github.Response)
		}
	}
	var r2 error
	if rf, ok := ret.Get(2).(func(context.Context, string) error); ok {
		r2 = rf(_a0, _a1)
	} else {
		r2 = ret.Error(2)
	}
	return r0, r1, r2
}