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 MockCalendarService

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

MockCalendarService is a mock of CalendarService interface.

func NewMockCalendarService

func NewMockCalendarService(ctrl *gomock.Controller) *MockCalendarService

NewMockCalendarService creates a new mock instance.

func (*MockCalendarService) EXPECT

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

func (*MockCalendarService) Sync

Sync mocks base method.

type MockCalendarServiceMockRecorder

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

MockCalendarServiceMockRecorder is the mock recorder for MockCalendarService.

func (*MockCalendarServiceMockRecorder) Sync

Sync indicates an expected call of Sync.

type MockInvoicesService

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

MockInvoicesService is a mock of InvoicesService interface.

func NewMockInvoicesService

func NewMockInvoicesService(ctrl *gomock.Controller) *MockInvoicesService

NewMockInvoicesService creates a new mock instance.

func (*MockInvoicesService) EXPECT

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

func (*MockInvoicesService) GetScheduledInvoices

func (m *MockInvoicesService) GetScheduledInvoices(ctx context.Context, template entities.InvoiceTemplate) ([]entities.Invoice, error)

GetScheduledInvoices mocks base method.

type MockInvoicesServiceMockRecorder

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

MockInvoicesServiceMockRecorder is the mock recorder for MockInvoicesService.

func (*MockInvoicesServiceMockRecorder) GetScheduledInvoices

func (mr *MockInvoicesServiceMockRecorder) GetScheduledInvoices(ctx, template any) *gomock.Call

GetScheduledInvoices indicates an expected call of GetScheduledInvoices.

type MockPeriodsRepository

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

MockPeriodsRepository is a mock of PeriodsRepository interface.

func NewMockPeriodsRepository

func NewMockPeriodsRepository(ctrl *gomock.Controller) *MockPeriodsRepository

NewMockPeriodsRepository creates a new mock instance.

func (*MockPeriodsRepository) EXPECT

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

func (*MockPeriodsRepository) GetLast

GetLast mocks base method.

type MockPeriodsRepositoryMockRecorder

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

MockPeriodsRepositoryMockRecorder is the mock recorder for MockPeriodsRepository.

func (*MockPeriodsRepositoryMockRecorder) GetLast

GetLast indicates an expected call of GetLast.

type MockUnitOfWork

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

MockUnitOfWork is a mock of UnitOfWork interface.

func NewMockUnitOfWork

func NewMockUnitOfWork(ctrl *gomock.Controller) *MockUnitOfWork

NewMockUnitOfWork creates a new mock instance.

func (*MockUnitOfWork) Commit

func (m *MockUnitOfWork) Commit(ctx context.Context) error

Commit mocks base method.

func (*MockUnitOfWork) CreateInvoice

func (m *MockUnitOfWork) CreateInvoice(invoice entities.Invoice)

CreateInvoice mocks base method.

func (*MockUnitOfWork) CreateInvoices

func (m *MockUnitOfWork) CreateInvoices(invoices []entities.Invoice, template entities.InvoiceTemplate)

CreateInvoices mocks base method.

func (*MockUnitOfWork) EXPECT

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

type MockUnitOfWorkMockRecorder

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

MockUnitOfWorkMockRecorder is the mock recorder for MockUnitOfWork.

func (*MockUnitOfWorkMockRecorder) Commit

func (mr *MockUnitOfWorkMockRecorder) Commit(ctx any) *gomock.Call

Commit indicates an expected call of Commit.

func (*MockUnitOfWorkMockRecorder) CreateInvoice

func (mr *MockUnitOfWorkMockRecorder) CreateInvoice(invoice any) *gomock.Call

CreateInvoice indicates an expected call of CreateInvoice.

func (*MockUnitOfWorkMockRecorder) CreateInvoices

func (mr *MockUnitOfWorkMockRecorder) CreateInvoices(invoices, template any) *gomock.Call

CreateInvoices indicates an expected call of CreateInvoices.

Jump to

Keyboard shortcuts

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