mocks

package
v0.0.0-...-9c49bb0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 5 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 MockRepositories

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

MockRepositories is a mock of Repositories interface.

func NewMockRepositories

func NewMockRepositories(ctrl *gomock.Controller) *MockRepositories

NewMockRepositories creates a new mock instance.

func (*MockRepositories) Create

func (m *MockRepositories) Create(ctx context.Context, request entities.Users) error

Create mocks base method.

func (*MockRepositories) Detail

func (m *MockRepositories) Detail(ctx context.Context, userUUID string) (entities.Users, error)

Detail mocks base method.

func (*MockRepositories) EXPECT

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

type MockRepositoriesMockRecorder

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

MockRepositoriesMockRecorder is the mock recorder for MockRepositories.

func (*MockRepositoriesMockRecorder) Create

func (mr *MockRepositoriesMockRecorder) Create(ctx, request interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockRepositoriesMockRecorder) Detail

func (mr *MockRepositoriesMockRecorder) Detail(ctx, userUUID interface{}) *gomock.Call

Detail indicates an expected call of Detail.

type MockUseCases

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

MockUseCases is a mock of UseCases interface.

func NewMockUseCases

func NewMockUseCases(ctrl *gomock.Controller) *MockUseCases

NewMockUseCases creates a new mock instance.

func (*MockUseCases) CreateUser

func (m *MockUseCases) CreateUser(ctx context.Context, request dtos.Users) error

CreateUser mocks base method.

func (*MockUseCases) EXPECT

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

func (*MockUseCases) GetUserDetail

func (m *MockUseCases) GetUserDetail(ctx context.Context, userUUID string) (dtos.Users, error)

GetUserDetail mocks base method.

type MockUseCasesMockRecorder

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

MockUseCasesMockRecorder is the mock recorder for MockUseCases.

func (*MockUseCasesMockRecorder) CreateUser

func (mr *MockUseCasesMockRecorder) CreateUser(ctx, request interface{}) *gomock.Call

CreateUser indicates an expected call of CreateUser.

func (*MockUseCasesMockRecorder) GetUserDetail

func (mr *MockUseCasesMockRecorder) GetUserDetail(ctx, userUUID interface{}) *gomock.Call

GetUserDetail indicates an expected call of GetUserDetail.

Jump to

Keyboard shortcuts

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