mocks

package
v0.0.0-...-3122bcc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: internal/user/delivery/profile_handler.go

Generated by this command:

mockgen -source=internal/user/delivery/profile_handler.go -destination=internal/user/mocks/profile_handler.go --package=mocks

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIUserService

type MockIUserService struct {
	// contains filtered or unexported fields
}

MockIUserService is a mock of IUserService interface.

func NewMockIUserService

func NewMockIUserService(ctrl *gomock.Controller) *MockIUserService

NewMockIUserService creates a new mock instance.

func (*MockIUserService) AddUser

func (m *MockIUserService) AddUser(ctx context.Context, r io.Reader) (*models.User, error)

AddUser mocks base method.

func (*MockIUserService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIUserService) GetUser

func (m *MockIUserService) GetUser(ctx context.Context, email, password string) (*models.UserWithoutPassword, error)

GetUser mocks base method.

func (*MockIUserService) GetUserWithoutPasswordByID

func (m *MockIUserService) GetUserWithoutPasswordByID(ctx context.Context, userID uint64) (*models.UserWithoutPassword, error)

GetUserWithoutPasswordByID mocks base method.

func (*MockIUserService) UpdateUser

func (m *MockIUserService) UpdateUser(ctx context.Context, r io.Reader, isPartialUpdate bool, userID uint64) (*models.UserWithoutPassword, error)

UpdateUser mocks base method.

type MockIUserServiceMockRecorder

type MockIUserServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockIUserServiceMockRecorder is the mock recorder for MockIUserService.

func (*MockIUserServiceMockRecorder) AddUser

func (mr *MockIUserServiceMockRecorder) AddUser(ctx, r any) *gomock.Call

AddUser indicates an expected call of AddUser.

func (*MockIUserServiceMockRecorder) GetUser

func (mr *MockIUserServiceMockRecorder) GetUser(ctx, email, password any) *gomock.Call

GetUser indicates an expected call of GetUser.

func (*MockIUserServiceMockRecorder) GetUserWithoutPasswordByID

func (mr *MockIUserServiceMockRecorder) GetUserWithoutPasswordByID(ctx, userID any) *gomock.Call

GetUserWithoutPasswordByID indicates an expected call of GetUserWithoutPasswordByID.

func (*MockIUserServiceMockRecorder) UpdateUser

func (mr *MockIUserServiceMockRecorder) UpdateUser(ctx, r, isPartialUpdate, userID any) *gomock.Call

UpdateUser indicates an expected call of UpdateUser.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL