mocks

package
v0.0.0-...-4d895cd Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

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 MockInvoicesRepository

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

MockInvoicesRepository is a mock of InvoicesRepository interface.

func NewMockInvoicesRepository

func NewMockInvoicesRepository(ctrl *gomock.Controller) *MockInvoicesRepository

NewMockInvoicesRepository creates a new mock instance.

func (*MockInvoicesRepository) Delete

func (m *MockInvoicesRepository) Delete(ctx context.Context, id uint64) error

Delete mocks base method.

func (*MockInvoicesRepository) EXPECT

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

func (*MockInvoicesRepository) GetByID

GetByID mocks base method.

func (*MockInvoicesRepository) GetByTemplateID

func (m *MockInvoicesRepository) GetByTemplateID(ctx context.Context, templateID uint64) ([]entities.Invoice, error)

GetByTemplateID mocks base method.

type MockInvoicesRepositoryMockRecorder

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

MockInvoicesRepositoryMockRecorder is the mock recorder for MockInvoicesRepository.

func (*MockInvoicesRepositoryMockRecorder) Delete

func (mr *MockInvoicesRepositoryMockRecorder) Delete(ctx, id any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockInvoicesRepositoryMockRecorder) GetByID

func (mr *MockInvoicesRepositoryMockRecorder) GetByID(ctx, id any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockInvoicesRepositoryMockRecorder) GetByTemplateID

func (mr *MockInvoicesRepositoryMockRecorder) GetByTemplateID(ctx, templateID any) *gomock.Call

GetByTemplateID indicates an expected call of GetByTemplateID.

type MockInvoicesTemplatesRepository

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

MockInvoicesTemplatesRepository is a mock of InvoicesTemplatesRepository interface.

func NewMockInvoicesTemplatesRepository

func NewMockInvoicesTemplatesRepository(ctrl *gomock.Controller) *MockInvoicesTemplatesRepository

NewMockInvoicesTemplatesRepository creates a new mock instance.

func (*MockInvoicesTemplatesRepository) Delete

Delete mocks base method.

func (*MockInvoicesTemplatesRepository) EXPECT

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

type MockInvoicesTemplatesRepositoryMockRecorder

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

MockInvoicesTemplatesRepositoryMockRecorder is the mock recorder for MockInvoicesTemplatesRepository.

func (*MockInvoicesTemplatesRepositoryMockRecorder) Delete

Delete indicates an expected call of Delete.

Jump to

Keyboard shortcuts

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