Documentation ¶
Overview ¶
Package mock_usecase is a generated GoMock package.
Index ¶
- type MockEntityRepository
- func (m *MockEntityRepository) Delete(arg0 database.Base) error
- func (m *MockEntityRepository) EXPECT() *MockEntityRepositoryMockRecorder
- func (m *MockEntityRepository) FindAll() ([]model.Entity, error)
- func (m *MockEntityRepository) FindAllFull(arg0 *model.EntityQuery) ([]model.Entity, error)
- func (m *MockEntityRepository) FindByID(arg0 int) (model.Entity, error)
- func (m *MockEntityRepository) FindFullByID(arg0 int) (model.Entity, error)
- func (m *MockEntityRepository) Store(arg0 database.Base) (int, error)
- func (m *MockEntityRepository) Update(arg0 database.Base) (int, error)
- type MockEntityRepositoryMockRecorder
- func (mr *MockEntityRepositoryMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockEntityRepositoryMockRecorder) FindAll() *gomock.Call
- func (mr *MockEntityRepositoryMockRecorder) FindAllFull(arg0 interface{}) *gomock.Call
- func (mr *MockEntityRepositoryMockRecorder) FindByID(arg0 interface{}) *gomock.Call
- func (mr *MockEntityRepositoryMockRecorder) FindFullByID(arg0 interface{}) *gomock.Call
- func (mr *MockEntityRepositoryMockRecorder) Store(arg0 interface{}) *gomock.Call
- func (mr *MockEntityRepositoryMockRecorder) Update(arg0 interface{}) *gomock.Call
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 ¶
func (m *MockEntityRepository) EXPECT() *MockEntityRepositoryMockRecorder
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.
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 ¶
func (mr *MockEntityRepositoryMockRecorder) FindAll() *gomock.Call
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.