Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockContactsState
- func (m *MockContactsState) DeleteContact(arg0 int64) error
- func (m *MockContactsState) EXPECT() *MockContactsStateMockRecorder
- func (m *MockContactsState) FindContact(arg0 int64) (*state.ContactState, error)
- func (m *MockContactsState) ListContacts() ([]*state.ContactState, error)
- func (m *MockContactsState) SaveContact(arg0 *state.ContactState) (int64, error)
- func (m *MockContactsState) UpdateContact(arg0 *state.ContactState) error
- type MockContactsStateMockRecorder
- func (mr *MockContactsStateMockRecorder) DeleteContact(arg0 interface{}) *gomock.Call
- func (mr *MockContactsStateMockRecorder) FindContact(arg0 interface{}) *gomock.Call
- func (mr *MockContactsStateMockRecorder) ListContacts() *gomock.Call
- func (mr *MockContactsStateMockRecorder) SaveContact(arg0 interface{}) *gomock.Call
- func (mr *MockContactsStateMockRecorder) UpdateContact(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockContactsState ¶
type MockContactsState struct {
// contains filtered or unexported fields
}
MockContactsState is a mock of ContactsState interface.
func NewMockContactsState ¶
func NewMockContactsState(ctrl *gomock.Controller) *MockContactsState
NewMockContactsState creates a new mock instance.
func (*MockContactsState) DeleteContact ¶
func (m *MockContactsState) DeleteContact(arg0 int64) error
DeleteContact mocks base method.
func (*MockContactsState) EXPECT ¶
func (m *MockContactsState) EXPECT() *MockContactsStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContactsState) FindContact ¶
func (m *MockContactsState) FindContact(arg0 int64) (*state.ContactState, error)
FindContact mocks base method.
func (*MockContactsState) ListContacts ¶
func (m *MockContactsState) ListContacts() ([]*state.ContactState, error)
ListContacts mocks base method.
func (*MockContactsState) SaveContact ¶
func (m *MockContactsState) SaveContact(arg0 *state.ContactState) (int64, error)
SaveContact mocks base method.
func (*MockContactsState) UpdateContact ¶
func (m *MockContactsState) UpdateContact(arg0 *state.ContactState) error
UpdateContact mocks base method.
type MockContactsStateMockRecorder ¶
type MockContactsStateMockRecorder struct {
// contains filtered or unexported fields
}
MockContactsStateMockRecorder is the mock recorder for MockContactsState.
func (*MockContactsStateMockRecorder) DeleteContact ¶
func (mr *MockContactsStateMockRecorder) DeleteContact(arg0 interface{}) *gomock.Call
DeleteContact indicates an expected call of DeleteContact.
func (*MockContactsStateMockRecorder) FindContact ¶
func (mr *MockContactsStateMockRecorder) FindContact(arg0 interface{}) *gomock.Call
FindContact indicates an expected call of FindContact.
func (*MockContactsStateMockRecorder) ListContacts ¶
func (mr *MockContactsStateMockRecorder) ListContacts() *gomock.Call
ListContacts indicates an expected call of ListContacts.
func (*MockContactsStateMockRecorder) SaveContact ¶
func (mr *MockContactsStateMockRecorder) SaveContact(arg0 interface{}) *gomock.Call
SaveContact indicates an expected call of SaveContact.
func (*MockContactsStateMockRecorder) UpdateContact ¶
func (mr *MockContactsStateMockRecorder) UpdateContact(arg0 interface{}) *gomock.Call
UpdateContact indicates an expected call of UpdateContact.