mock_usecase

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_usecase is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEntityRepository

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

MockEntityRepository is a mock of EntityRepository interface.

func NewMockEntityRepository

func NewMockEntityRepository(ctrl *gomock.Controller) *MockEntityRepository

NewMockEntityRepository creates a new mock instance.

func (*MockEntityRepository) Delete

func (m *MockEntityRepository) Delete(arg0 database.Base) error

Delete mocks base method.

func (*MockEntityRepository) EXPECT

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

func (*MockEntityRepository) FindAll

func (m *MockEntityRepository) FindAll() ([]model.Entity, error)

FindAll mocks base method.

func (*MockEntityRepository) FindAllFull

func (m *MockEntityRepository) FindAllFull(arg0 *model.EntityQuery) ([]model.Entity, error)

FindAllFull mocks base method.

func (*MockEntityRepository) FindByID

func (m *MockEntityRepository) FindByID(arg0 int) (model.Entity, error)

FindByID mocks base method.

func (*MockEntityRepository) FindFullByID

func (m *MockEntityRepository) FindFullByID(arg0 int) (model.Entity, error)

FindFullByID mocks base method.

func (*MockEntityRepository) Store

func (m *MockEntityRepository) Store(arg0 database.Base) (int, error)

Store mocks base method.

func (*MockEntityRepository) Update

func (m *MockEntityRepository) Update(arg0 database.Base) (int, error)

Update mocks base method.

type MockEntityRepositoryMockRecorder

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

MockEntityRepositoryMockRecorder is the mock recorder for MockEntityRepository.

func (*MockEntityRepositoryMockRecorder) Delete

func (mr *MockEntityRepositoryMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockEntityRepositoryMockRecorder) FindAll

FindAll indicates an expected call of FindAll.

func (*MockEntityRepositoryMockRecorder) FindAllFull

func (mr *MockEntityRepositoryMockRecorder) FindAllFull(arg0 interface{}) *gomock.Call

FindAllFull indicates an expected call of FindAllFull.

func (*MockEntityRepositoryMockRecorder) FindByID

func (mr *MockEntityRepositoryMockRecorder) FindByID(arg0 interface{}) *gomock.Call

FindByID indicates an expected call of FindByID.

func (*MockEntityRepositoryMockRecorder) FindFullByID

func (mr *MockEntityRepositoryMockRecorder) FindFullByID(arg0 interface{}) *gomock.Call

FindFullByID indicates an expected call of FindFullByID.

func (*MockEntityRepositoryMockRecorder) Store

func (mr *MockEntityRepositoryMockRecorder) Store(arg0 interface{}) *gomock.Call

Store indicates an expected call of Store.

func (*MockEntityRepositoryMockRecorder) Update

func (mr *MockEntityRepositoryMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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