mocks

package
v0.0.0-...-e8cbfdd Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockElementRepository

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

MockElementRepository is a mock of ElementRepository interface

func NewMockElementRepository

func NewMockElementRepository(ctrl *gomock.Controller) *MockElementRepository

NewMockElementRepository creates a new mock instance

func (*MockElementRepository) CreateElement

func (m *MockElementRepository) CreateElement(arg0 context.Context, arg1 domain.ElementModel) error

CreateElement mocks base method

func (*MockElementRepository) EXPECT

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

func (*MockElementRepository) GetByIDProject

func (m *MockElementRepository) GetByIDProject(arg0 context.Context, arg1 int) ([]domain.ElementModel, error)

GetByIDProject mocks base method

type MockElementRepositoryMockRecorder

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

MockElementRepositoryMockRecorder is the mock recorder for MockElementRepository

func (*MockElementRepositoryMockRecorder) CreateElement

func (mr *MockElementRepositoryMockRecorder) CreateElement(arg0, arg1 interface{}) *gomock.Call

CreateElement indicates an expected call of CreateElement

func (*MockElementRepositoryMockRecorder) GetByIDProject

func (mr *MockElementRepositoryMockRecorder) GetByIDProject(arg0, arg1 interface{}) *gomock.Call

GetByIDProject indicates an expected call of GetByIDProject

type MockProjectRepository

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

MockProjectRepository is a mock of ProjectRepository interface

func NewMockProjectRepository

func NewMockProjectRepository(ctrl *gomock.Controller) *MockProjectRepository

NewMockProjectRepository creates a new mock instance

func (*MockProjectRepository) CreateProject

func (m *MockProjectRepository) CreateProject(arg0 context.Context, arg1 domain.ProjectModel) error

CreateProject mocks base method

func (*MockProjectRepository) EXPECT

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

func (*MockProjectRepository) Get

Get mocks base method

type MockProjectRepositoryMockRecorder

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

MockProjectRepositoryMockRecorder is the mock recorder for MockProjectRepository

func (*MockProjectRepositoryMockRecorder) CreateProject

func (mr *MockProjectRepositoryMockRecorder) CreateProject(arg0, arg1 interface{}) *gomock.Call

CreateProject indicates an expected call of CreateProject

func (*MockProjectRepositoryMockRecorder) Get

func (mr *MockProjectRepositoryMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get

Jump to

Keyboard shortcuts

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