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