mock

package
v0.0.0-...-0c44e78 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCustomerRepository

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

MockCustomerRepository is a mock of CustomerRepository interface.

func NewMockCustomerRepository

func NewMockCustomerRepository(ctrl *gomock.Controller) *MockCustomerRepository

NewMockCustomerRepository creates a new mock instance.

func (*MockCustomerRepository) EXPECT

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

func (*MockCustomerRepository) GetCustomerDeliveryInfo

func (m *MockCustomerRepository) GetCustomerDeliveryInfo(ctx context.Context, customerID uint64) (*valueobject.CustomerDeliveryInfo, error)

GetCustomerDeliveryInfo mocks base method.

func (*MockCustomerRepository) GetCustomerPersonalInfo

func (m *MockCustomerRepository) GetCustomerPersonalInfo(ctx context.Context, customerID uint64) (*valueobject.CustomerPersonalInfo, error)

GetCustomerPersonalInfo mocks base method.

func (*MockCustomerRepository) UpdateCustomerDeliveryInfo

func (m *MockCustomerRepository) UpdateCustomerDeliveryInfo(ctx context.Context, customerID uint64, deliveryInfo *valueobject.CustomerDeliveryInfo) error

UpdateCustomerDeliveryInfo mocks base method.

func (*MockCustomerRepository) UpdateCustomerPersonalInfo

func (m *MockCustomerRepository) UpdateCustomerPersonalInfo(ctx context.Context, customerID uint64, personalInfo *valueobject.CustomerPersonalInfo) error

UpdateCustomerPersonalInfo mocks base method.

type MockCustomerRepositoryMockRecorder

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

MockCustomerRepositoryMockRecorder is the mock recorder for MockCustomerRepository.

func (*MockCustomerRepositoryMockRecorder) GetCustomerDeliveryInfo

func (mr *MockCustomerRepositoryMockRecorder) GetCustomerDeliveryInfo(ctx, customerID interface{}) *gomock.Call

GetCustomerDeliveryInfo indicates an expected call of GetCustomerDeliveryInfo.

func (*MockCustomerRepositoryMockRecorder) GetCustomerPersonalInfo

func (mr *MockCustomerRepositoryMockRecorder) GetCustomerPersonalInfo(ctx, customerID interface{}) *gomock.Call

GetCustomerPersonalInfo indicates an expected call of GetCustomerPersonalInfo.

func (*MockCustomerRepositoryMockRecorder) UpdateCustomerDeliveryInfo

func (mr *MockCustomerRepositoryMockRecorder) UpdateCustomerDeliveryInfo(ctx, customerID, deliveryInfo interface{}) *gomock.Call

UpdateCustomerDeliveryInfo indicates an expected call of UpdateCustomerDeliveryInfo.

func (*MockCustomerRepositoryMockRecorder) UpdateCustomerPersonalInfo

func (mr *MockCustomerRepositoryMockRecorder) UpdateCustomerPersonalInfo(ctx, customerID, personalInfo interface{}) *gomock.Call

UpdateCustomerPersonalInfo indicates an expected call of UpdateCustomerPersonalInfo.

type MockJWTAuthRepository

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

MockJWTAuthRepository is a mock of JWTAuthRepository interface.

func NewMockJWTAuthRepository

func NewMockJWTAuthRepository(ctrl *gomock.Controller) *MockJWTAuthRepository

NewMockJWTAuthRepository creates a new mock instance.

func (*MockJWTAuthRepository) CheckCustomer

func (m *MockJWTAuthRepository) CheckCustomer(ctx context.Context, customerID uint64) (bool, bool, error)

CheckCustomer mocks base method.

func (*MockJWTAuthRepository) CreateCustomer

func (m *MockJWTAuthRepository) CreateCustomer(ctx context.Context, customer *entity.Customer) error

CreateCustomer mocks base method.

func (*MockJWTAuthRepository) EXPECT

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

func (*MockJWTAuthRepository) GetCustomerCredentials

func (m *MockJWTAuthRepository) GetCustomerCredentials(ctx context.Context, email string) (bool, *valueobject.CustomerCredentials, error)

GetCustomerCredentials mocks base method.

type MockJWTAuthRepositoryMockRecorder

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

MockJWTAuthRepositoryMockRecorder is the mock recorder for MockJWTAuthRepository.

func (*MockJWTAuthRepositoryMockRecorder) CheckCustomer

func (mr *MockJWTAuthRepositoryMockRecorder) CheckCustomer(ctx, customerID interface{}) *gomock.Call

CheckCustomer indicates an expected call of CheckCustomer.

func (*MockJWTAuthRepositoryMockRecorder) CreateCustomer

func (mr *MockJWTAuthRepositoryMockRecorder) CreateCustomer(ctx, customer interface{}) *gomock.Call

CreateCustomer indicates an expected call of CreateCustomer.

func (*MockJWTAuthRepositoryMockRecorder) GetCustomerCredentials

func (mr *MockJWTAuthRepositoryMockRecorder) GetCustomerCredentials(ctx, email interface{}) *gomock.Call

GetCustomerCredentials indicates an expected call of GetCustomerCredentials.

Jump to

Keyboard shortcuts

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