Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockCustomerRepository
- func (m *MockCustomerRepository) EXPECT() *MockCustomerRepositoryMockRecorder
- func (m *MockCustomerRepository) GetCustomerDeliveryInfo(ctx context.Context, customerID uint64) (*valueobject.CustomerDeliveryInfo, error)
- func (m *MockCustomerRepository) GetCustomerPersonalInfo(ctx context.Context, customerID uint64) (*valueobject.CustomerPersonalInfo, error)
- func (m *MockCustomerRepository) UpdateCustomerDeliveryInfo(ctx context.Context, customerID uint64, ...) error
- func (m *MockCustomerRepository) UpdateCustomerPersonalInfo(ctx context.Context, customerID uint64, ...) error
- type MockCustomerRepositoryMockRecorder
- func (mr *MockCustomerRepositoryMockRecorder) GetCustomerDeliveryInfo(ctx, customerID interface{}) *gomock.Call
- func (mr *MockCustomerRepositoryMockRecorder) GetCustomerPersonalInfo(ctx, customerID interface{}) *gomock.Call
- func (mr *MockCustomerRepositoryMockRecorder) UpdateCustomerDeliveryInfo(ctx, customerID, deliveryInfo interface{}) *gomock.Call
- func (mr *MockCustomerRepositoryMockRecorder) UpdateCustomerPersonalInfo(ctx, customerID, personalInfo interface{}) *gomock.Call
- type MockJWTAuthRepository
- func (m *MockJWTAuthRepository) CheckCustomer(ctx context.Context, customerID uint64) (bool, bool, error)
- func (m *MockJWTAuthRepository) CreateCustomer(ctx context.Context, customer *entity.Customer) error
- func (m *MockJWTAuthRepository) EXPECT() *MockJWTAuthRepositoryMockRecorder
- func (m *MockJWTAuthRepository) GetCustomerCredentials(ctx context.Context, email string) (bool, *valueobject.CustomerCredentials, error)
- type MockJWTAuthRepositoryMockRecorder
- func (mr *MockJWTAuthRepositoryMockRecorder) CheckCustomer(ctx, customerID interface{}) *gomock.Call
- func (mr *MockJWTAuthRepositoryMockRecorder) CreateCustomer(ctx, customer interface{}) *gomock.Call
- func (mr *MockJWTAuthRepositoryMockRecorder) GetCustomerCredentials(ctx, email interface{}) *gomock.Call
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 ¶
func (m *MockCustomerRepository) EXPECT() *MockCustomerRepositoryMockRecorder
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 ¶
func (m *MockJWTAuthRepository) EXPECT() *MockJWTAuthRepositoryMockRecorder
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.