Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: ./webook/internal/service/oauth2/wechat/service.go
Generated by this command:
mockgen -source=./webook/internal/service/oauth2/wechat/service.go -package=wechatmocks -destination=./webook/internal/service/oauth2/wechat/mocks/svc.mock.go
Package wechatmocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) VerifyCode ¶
func (m *MockService) VerifyCode(ctx context.Context, code string) (domain.WechatInfo, error)
VerifyCode mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) AuthURL ¶
func (mr *MockServiceMockRecorder) AuthURL(ctx, state any) *gomock.Call
AuthURL indicates an expected call of AuthURL.
func (*MockServiceMockRecorder) VerifyCode ¶
func (mr *MockServiceMockRecorder) VerifyCode(ctx, code any) *gomock.Call
VerifyCode indicates an expected call of VerifyCode.
Click to show internal directories.
Click to hide internal directories.