Documentation ¶
Overview ¶
Package mock_domain is a generated GoMock package.
Index ¶
- type MockRelationshipRepository
- func (m *MockRelationshipRepository) CreateRelationship(personId int64, relationship domain.Relationship) error
- func (m *MockRelationshipRepository) DeleteRelationship(personId int64) error
- func (m *MockRelationshipRepository) EXPECT() *MockRelationshipRepositoryMockRecorder
- func (m *MockRelationshipRepository) GetRelationshipByID(personId int64) (*domain.Member, error)
- type MockRelationshipRepositoryMockRecorder
- func (mr *MockRelationshipRepositoryMockRecorder) CreateRelationship(personId, relationship interface{}) *gomock.Call
- func (mr *MockRelationshipRepositoryMockRecorder) DeleteRelationship(personId interface{}) *gomock.Call
- func (mr *MockRelationshipRepositoryMockRecorder) GetRelationshipByID(personId interface{}) *gomock.Call
- type MockRelationshipUseCase
- func (m *MockRelationshipUseCase) CreateRelationship(personId int64, person domain.Relationship) error
- func (m *MockRelationshipUseCase) DeleteRelationship(personId int64) error
- func (m *MockRelationshipUseCase) EXPECT() *MockRelationshipUseCaseMockRecorder
- func (m *MockRelationshipUseCase) GetRelationshipByID(personId int64) (*domain.Member, error)
- type MockRelationshipUseCaseMockRecorder
- func (mr *MockRelationshipUseCaseMockRecorder) CreateRelationship(personId, person interface{}) *gomock.Call
- func (mr *MockRelationshipUseCaseMockRecorder) DeleteRelationship(personId interface{}) *gomock.Call
- func (mr *MockRelationshipUseCaseMockRecorder) GetRelationshipByID(personId interface{}) *gomock.Call
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 ¶
func (m *MockRelationshipRepository) EXPECT() *MockRelationshipRepositoryMockRecorder
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 ¶
func (m *MockRelationshipUseCase) EXPECT() *MockRelationshipUseCaseMockRecorder
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.