mock_domain

package
v0.0.0-...-37d2846 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_domain is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRelationshipRepository

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

MockRelationshipRepository is a mock of RelationshipRepository interface.

func NewMockRelationshipRepository

func NewMockRelationshipRepository(ctrl *gomock.Controller) *MockRelationshipRepository

NewMockRelationshipRepository creates a new mock instance.

func (*MockRelationshipRepository) CreateRelationship

func (m *MockRelationshipRepository) CreateRelationship(personId int64, relationship domain.Relationship) error

CreateRelationship mocks base method.

func (*MockRelationshipRepository) DeleteRelationship

func (m *MockRelationshipRepository) DeleteRelationship(personId int64) error

DeleteRelationship mocks base method.

func (*MockRelationshipRepository) EXPECT

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

func (*MockRelationshipRepository) GetRelationshipByID

func (m *MockRelationshipRepository) GetRelationshipByID(personId int64) (*domain.Member, error)

GetRelationshipByID mocks base method.

type MockRelationshipRepositoryMockRecorder

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

MockRelationshipRepositoryMockRecorder is the mock recorder for MockRelationshipRepository.

func (*MockRelationshipRepositoryMockRecorder) CreateRelationship

func (mr *MockRelationshipRepositoryMockRecorder) CreateRelationship(personId, relationship interface{}) *gomock.Call

CreateRelationship indicates an expected call of CreateRelationship.

func (*MockRelationshipRepositoryMockRecorder) DeleteRelationship

func (mr *MockRelationshipRepositoryMockRecorder) DeleteRelationship(personId interface{}) *gomock.Call

DeleteRelationship indicates an expected call of DeleteRelationship.

func (*MockRelationshipRepositoryMockRecorder) GetRelationshipByID

func (mr *MockRelationshipRepositoryMockRecorder) GetRelationshipByID(personId interface{}) *gomock.Call

GetRelationshipByID indicates an expected call of GetRelationshipByID.

type MockRelationshipUseCase

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

MockRelationshipUseCase is a mock of RelationshipUseCase interface.

func NewMockRelationshipUseCase

func NewMockRelationshipUseCase(ctrl *gomock.Controller) *MockRelationshipUseCase

NewMockRelationshipUseCase creates a new mock instance.

func (*MockRelationshipUseCase) CreateRelationship

func (m *MockRelationshipUseCase) CreateRelationship(personId int64, person domain.Relationship) error

CreateRelationship mocks base method.

func (*MockRelationshipUseCase) DeleteRelationship

func (m *MockRelationshipUseCase) DeleteRelationship(personId int64) error

DeleteRelationship mocks base method.

func (*MockRelationshipUseCase) EXPECT

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

func (*MockRelationshipUseCase) GetRelationshipByID

func (m *MockRelationshipUseCase) GetRelationshipByID(personId int64) (*domain.Member, error)

GetRelationshipByID mocks base method.

type MockRelationshipUseCaseMockRecorder

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

MockRelationshipUseCaseMockRecorder is the mock recorder for MockRelationshipUseCase.

func (*MockRelationshipUseCaseMockRecorder) CreateRelationship

func (mr *MockRelationshipUseCaseMockRecorder) CreateRelationship(personId, person interface{}) *gomock.Call

CreateRelationship indicates an expected call of CreateRelationship.

func (*MockRelationshipUseCaseMockRecorder) DeleteRelationship

func (mr *MockRelationshipUseCaseMockRecorder) DeleteRelationship(personId interface{}) *gomock.Call

DeleteRelationship indicates an expected call of DeleteRelationship.

func (*MockRelationshipUseCaseMockRecorder) GetRelationshipByID

func (mr *MockRelationshipUseCaseMockRecorder) GetRelationshipByID(personId interface{}) *gomock.Call

GetRelationshipByID indicates an expected call of GetRelationshipByID.

Jump to

Keyboard shortcuts

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