mocks

package
v0.0.0-...-dfd90ba Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockRepository

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

MockRepository is a mock of Repository interface.

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance.

func (*MockRepository) EXPECT

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

func (*MockRepository) FullUpdate

func (m *MockRepository) FullUpdate(params *profile.FullUpdateParams) (profile.Profile, error)

FullUpdate mocks base method.

func (*MockRepository) GetProfileByUser

func (m *MockRepository) GetProfileByUser(userId int) (profile.Profile, error)

GetProfileByUser mocks base method.

func (*MockRepository) IsUsernameAvailable

func (m *MockRepository) IsUsernameAvailable(username string, userId int) (bool, error)

IsUsernameAvailable mocks base method.

func (*MockRepository) PartialUpdate

func (m *MockRepository) PartialUpdate(params *profile.PartialUpdateParams) (profile.Profile, error)

PartialUpdate mocks base method.

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) FullUpdate

func (mr *MockRepositoryMockRecorder) FullUpdate(params interface{}) *gomock.Call

FullUpdate indicates an expected call of FullUpdate.

func (*MockRepositoryMockRecorder) GetProfileByUser

func (mr *MockRepositoryMockRecorder) GetProfileByUser(userId interface{}) *gomock.Call

GetProfileByUser indicates an expected call of GetProfileByUser.

func (*MockRepositoryMockRecorder) IsUsernameAvailable

func (mr *MockRepositoryMockRecorder) IsUsernameAvailable(username, userId interface{}) *gomock.Call

IsUsernameAvailable indicates an expected call of IsUsernameAvailable.

func (*MockRepositoryMockRecorder) PartialUpdate

func (mr *MockRepositoryMockRecorder) PartialUpdate(params interface{}) *gomock.Call

PartialUpdate indicates an expected call of PartialUpdate.

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) FullUpdate

func (m *MockService) FullUpdate(params *profile.FullUpdateParams) (profile.Profile, error)

FullUpdate mocks base method.

func (*MockService) GetProfileByUser

func (m *MockService) GetProfileByUser(userId int) (profile.Profile, error)

GetProfileByUser mocks base method.

func (*MockService) PartialUpdate

func (m *MockService) PartialUpdate(params *profile.PartialUpdateParams) (profile.Profile, error)

PartialUpdate mocks base method.

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) FullUpdate

func (mr *MockServiceMockRecorder) FullUpdate(params interface{}) *gomock.Call

FullUpdate indicates an expected call of FullUpdate.

func (*MockServiceMockRecorder) GetProfileByUser

func (mr *MockServiceMockRecorder) GetProfileByUser(userId interface{}) *gomock.Call

GetProfileByUser indicates an expected call of GetProfileByUser.

func (*MockServiceMockRecorder) PartialUpdate

func (mr *MockServiceMockRecorder) PartialUpdate(params interface{}) *gomock.Call

PartialUpdate indicates an expected call of PartialUpdate.

Jump to

Keyboard shortcuts

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