Documentation
¶
Overview ¶
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
Index ¶
- type MockITransaction
- type MockITransactionMockRecorder
- type MockIUser
- func (m *MockIUser) Create(ctx context.Context, user *domain.User) error
- func (m *MockIUser) EXPECT() *MockIUserMockRecorder
- func (m *MockIUser) GetAllUser(ctx context.Context) ([]values.UserName, error)
- func (m *MockIUser) GetPassword(ctx context.Context, userName values.UserName) (values.HashedPassword, error)
- type MockIUserMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockITransaction ¶
type MockITransaction struct {
// contains filtered or unexported fields
}
MockITransaction is a mock of ITransaction interface.
func NewMockITransaction ¶
func NewMockITransaction(ctrl *gomock.Controller) *MockITransaction
NewMockITransaction creates a new mock instance.
func (*MockITransaction) EXPECT ¶
func (m *MockITransaction) EXPECT() *MockITransactionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockITransaction) RTransaction ¶
func (m *MockITransaction) RTransaction(arg0 context.Context, arg1 func(context.Context) error) error
RTransaction mocks base method.
func (*MockITransaction) Transaction ¶
func (m *MockITransaction) Transaction(arg0 context.Context, arg1 func(context.Context) error) error
Transaction mocks base method.
type MockITransactionMockRecorder ¶
type MockITransactionMockRecorder struct {
// contains filtered or unexported fields
}
MockITransactionMockRecorder is the mock recorder for MockITransaction.
func (*MockITransactionMockRecorder) RTransaction ¶
func (mr *MockITransactionMockRecorder) RTransaction(arg0, arg1 interface{}) *gomock.Call
RTransaction indicates an expected call of RTransaction.
func (*MockITransactionMockRecorder) Transaction ¶
func (mr *MockITransactionMockRecorder) Transaction(arg0, arg1 interface{}) *gomock.Call
Transaction indicates an expected call of Transaction.
type MockIUser ¶
type MockIUser struct {
// contains filtered or unexported fields
}
MockIUser is a mock of IUser interface.
func NewMockIUser ¶
func NewMockIUser(ctrl *gomock.Controller) *MockIUser
NewMockIUser creates a new mock instance.
func (*MockIUser) EXPECT ¶
func (m *MockIUser) EXPECT() *MockIUserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIUser) GetAllUser ¶
GetAllUser mocks base method.
func (*MockIUser) GetPassword ¶
func (m *MockIUser) GetPassword(ctx context.Context, userName values.UserName) (values.HashedPassword, error)
GetPassword mocks base method.
type MockIUserMockRecorder ¶
type MockIUserMockRecorder struct {
// contains filtered or unexported fields
}
MockIUserMockRecorder is the mock recorder for MockIUser.
func (*MockIUserMockRecorder) Create ¶
func (mr *MockIUserMockRecorder) Create(ctx, user interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockIUserMockRecorder) GetAllUser ¶
func (mr *MockIUserMockRecorder) GetAllUser(ctx interface{}) *gomock.Call
GetAllUser indicates an expected call of GetAllUser.
func (*MockIUserMockRecorder) GetPassword ¶
func (mr *MockIUserMockRecorder) GetPassword(ctx, userName interface{}) *gomock.Call
GetPassword indicates an expected call of GetPassword.