mock_document

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_document is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRepository

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

MockRepository is a mock of Repository interface.

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance.

func (*MockRepository) Delete

func (m *MockRepository) Delete(arg0 context.Context, arg1 *document.Shelf) error

Delete mocks base method.

func (*MockRepository) EXPECT

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

func (*MockRepository) Fetch

func (m *MockRepository) Fetch(arg0 context.Context, arg1 uuid.UUID) (*document.Shelf, error)

Fetch mocks base method.

func (*MockRepository) Save

func (m *MockRepository) Save(arg0 context.Context, arg1 *document.Shelf) error

Save mocks base method.

func (*MockRepository) Use

func (m *MockRepository) Use(arg0 context.Context, arg1 uuid.UUID, arg2 func(*document.Shelf) error) error

Use mocks base method.

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) Delete

func (mr *MockRepositoryMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockRepositoryMockRecorder) Fetch

func (mr *MockRepositoryMockRecorder) Fetch(arg0, arg1 interface{}) *gomock.Call

Fetch indicates an expected call of Fetch.

func (*MockRepositoryMockRecorder) Save

func (mr *MockRepositoryMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call

Save indicates an expected call of Save.

func (*MockRepositoryMockRecorder) Use

func (mr *MockRepositoryMockRecorder) Use(arg0, arg1, arg2 interface{}) *gomock.Call

Use indicates an expected call of Use.

Jump to

Keyboard shortcuts

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