Documentation ¶
Overview ¶
Package mock_business is a generated GoMock package.
Index ¶
- type MockBusinessContract
- func (m *MockBusinessContract) CreateUser(ctx context.Context, request *business.CreateUserRequest) (*business.CreateUserResponse, error)
- func (m *MockBusinessContract) DeleteUser(ctx context.Context, request *business.DeleteUserRequest) (*business.DeleteUserResponse, error)
- func (m *MockBusinessContract) EXPECT() *MockBusinessContractMockRecorder
- func (m *MockBusinessContract) ReadUser(ctx context.Context, request *business.ReadUserRequest) (*business.ReadUserResponse, error)
- func (m *MockBusinessContract) UpdateUser(ctx context.Context, request *business.UpdateUserRequest) (*business.UpdateUserResponse, error)
- type MockBusinessContractMockRecorder
- func (mr *MockBusinessContractMockRecorder) CreateUser(ctx, request interface{}) *gomock.Call
- func (mr *MockBusinessContractMockRecorder) DeleteUser(ctx, request interface{}) *gomock.Call
- func (mr *MockBusinessContractMockRecorder) ReadUser(ctx, request interface{}) *gomock.Call
- func (mr *MockBusinessContractMockRecorder) UpdateUser(ctx, request interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBusinessContract ¶
type MockBusinessContract struct {
// contains filtered or unexported fields
}
MockBusinessContract is a mock of BusinessContract interface.
func NewMockBusinessContract ¶
func NewMockBusinessContract(ctrl *gomock.Controller) *MockBusinessContract
NewMockBusinessContract creates a new mock instance.
func (*MockBusinessContract) CreateUser ¶
func (m *MockBusinessContract) CreateUser(ctx context.Context, request *business.CreateUserRequest) (*business.CreateUserResponse, error)
CreateUser mocks base method.
func (*MockBusinessContract) DeleteUser ¶
func (m *MockBusinessContract) DeleteUser(ctx context.Context, request *business.DeleteUserRequest) (*business.DeleteUserResponse, error)
DeleteUser mocks base method.
func (*MockBusinessContract) EXPECT ¶
func (m *MockBusinessContract) EXPECT() *MockBusinessContractMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBusinessContract) ReadUser ¶
func (m *MockBusinessContract) ReadUser(ctx context.Context, request *business.ReadUserRequest) (*business.ReadUserResponse, error)
ReadUser mocks base method.
func (*MockBusinessContract) UpdateUser ¶
func (m *MockBusinessContract) UpdateUser(ctx context.Context, request *business.UpdateUserRequest) (*business.UpdateUserResponse, error)
UpdateUser mocks base method.
type MockBusinessContractMockRecorder ¶
type MockBusinessContractMockRecorder struct {
// contains filtered or unexported fields
}
MockBusinessContractMockRecorder is the mock recorder for MockBusinessContract.
func (*MockBusinessContractMockRecorder) CreateUser ¶
func (mr *MockBusinessContractMockRecorder) CreateUser(ctx, request interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockBusinessContractMockRecorder) DeleteUser ¶
func (mr *MockBusinessContractMockRecorder) DeleteUser(ctx, request interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockBusinessContractMockRecorder) ReadUser ¶
func (mr *MockBusinessContractMockRecorder) ReadUser(ctx, request interface{}) *gomock.Call
ReadUser indicates an expected call of ReadUser.
func (*MockBusinessContractMockRecorder) UpdateUser ¶
func (mr *MockBusinessContractMockRecorder) UpdateUser(ctx, request interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.