mock

package
v1.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL