mocks

package
v0.0.0-...-6cb8ef5 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockContactDTO

type MockContactDTO struct {
	// contains filtered or unexported fields
}

MockContactDTO is a mock of ContactDTO interface.

func NewMockContactDTO

func NewMockContactDTO(ctrl *gomock.Controller) *MockContactDTO

NewMockContactDTO creates a new mock instance.

func (*MockContactDTO) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockContactDTO) Name

func (m *MockContactDTO) Name() string

Name mocks base method.

func (*MockContactDTO) Phone

func (m *MockContactDTO) Phone() string

Phone mocks base method.

type MockContactDTOMockRecorder

type MockContactDTOMockRecorder struct {
	// contains filtered or unexported fields
}

MockContactDTOMockRecorder is the mock recorder for MockContactDTO.

func (*MockContactDTOMockRecorder) Name

Name indicates an expected call of Name.

func (*MockContactDTOMockRecorder) Phone

func (mr *MockContactDTOMockRecorder) Phone() *gomock.Call

Phone indicates an expected call of Phone.

type MockContactsRepository

type MockContactsRepository struct {
	// contains filtered or unexported fields
}

MockContactsRepository is a mock of ContactsRepository interface.

func NewMockContactsRepository

func NewMockContactsRepository(ctrl *gomock.Controller) *MockContactsRepository

NewMockContactsRepository creates a new mock instance.

func (*MockContactsRepository) Add

Add mocks base method.

func (*MockContactsRepository) AddAll

AddAll mocks base method.

func (*MockContactsRepository) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockContactsRepository) GetByPhone

func (m *MockContactsRepository) GetByPhone(arg0 string) (interfaces.ContactDTO, error)

GetByPhone mocks base method.

func (*MockContactsRepository) ListAll

ListAll mocks base method.

type MockContactsRepositoryMockRecorder

type MockContactsRepositoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockContactsRepositoryMockRecorder is the mock recorder for MockContactsRepository.

func (*MockContactsRepositoryMockRecorder) Add

func (mr *MockContactsRepositoryMockRecorder) Add(arg0 interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockContactsRepositoryMockRecorder) AddAll

func (mr *MockContactsRepositoryMockRecorder) AddAll(arg0 interface{}) *gomock.Call

AddAll indicates an expected call of AddAll.

func (*MockContactsRepositoryMockRecorder) GetByPhone

func (mr *MockContactsRepositoryMockRecorder) GetByPhone(arg0 interface{}) *gomock.Call

GetByPhone indicates an expected call of GetByPhone.

func (*MockContactsRepositoryMockRecorder) ListAll

ListAll indicates an expected call of ListAll.

Jump to

Keyboard shortcuts

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