Documentation ¶
Overview ¶
Package mock_contact is a generated GoMock package.
Index ¶
- type MockIContactService
- func (m *MockIContactService) DoDelete(arg0 context.Context, arg1 string, arg2 int64) message.IMessage
- func (m *MockIContactService) DoRead(arg0 context.Context, arg1 string, arg2 int64) (*contact.Contact, message.IMessage)
- func (m *MockIContactService) DoReadAll(arg0 context.Context, arg1 string) ([]*contact.Contact, message.IMessage)
- func (m *MockIContactService) DoSave(arg0 context.Context, arg1 *contact.Contact) message.IMessage
- func (m *MockIContactService) EXPECT() *MockIContactServiceMockRecorder
- type MockIContactServiceMockRecorder
- func (mr *MockIContactServiceMockRecorder) DoDelete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIContactServiceMockRecorder) DoRead(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIContactServiceMockRecorder) DoReadAll(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIContactServiceMockRecorder) DoSave(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIContactService ¶
type MockIContactService struct {
// contains filtered or unexported fields
}
MockIContactService is a mock of IContactService interface
func NewMockIContactService ¶
func NewMockIContactService(ctrl *gomock.Controller) *MockIContactService
NewMockIContactService creates a new mock instance
func (*MockIContactService) DoDelete ¶
func (m *MockIContactService) DoDelete(arg0 context.Context, arg1 string, arg2 int64) message.IMessage
DoDelete mocks base method
func (*MockIContactService) DoRead ¶
func (m *MockIContactService) DoRead(arg0 context.Context, arg1 string, arg2 int64) (*contact.Contact, message.IMessage)
DoRead mocks base method
func (*MockIContactService) DoReadAll ¶
func (m *MockIContactService) DoReadAll(arg0 context.Context, arg1 string) ([]*contact.Contact, message.IMessage)
DoReadAll mocks base method
func (*MockIContactService) EXPECT ¶
func (m *MockIContactService) EXPECT() *MockIContactServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockIContactServiceMockRecorder ¶
type MockIContactServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockIContactServiceMockRecorder is the mock recorder for MockIContactService
func (*MockIContactServiceMockRecorder) DoDelete ¶
func (mr *MockIContactServiceMockRecorder) DoDelete(arg0, arg1, arg2 interface{}) *gomock.Call
DoDelete indicates an expected call of DoDelete
func (*MockIContactServiceMockRecorder) DoRead ¶
func (mr *MockIContactServiceMockRecorder) DoRead(arg0, arg1, arg2 interface{}) *gomock.Call
DoRead indicates an expected call of DoRead
func (*MockIContactServiceMockRecorder) DoReadAll ¶
func (mr *MockIContactServiceMockRecorder) DoReadAll(arg0, arg1 interface{}) *gomock.Call
DoReadAll indicates an expected call of DoReadAll
func (*MockIContactServiceMockRecorder) DoSave ¶
func (mr *MockIContactServiceMockRecorder) DoSave(arg0, arg1 interface{}) *gomock.Call
DoSave indicates an expected call of DoSave
Click to show internal directories.
Click to hide internal directories.