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 ¶
func (m *MockCalendarService) EXPECT() *MockCalendarServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCalendarServiceMockRecorder ¶
type MockCalendarServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockCalendarServiceMockRecorder is the mock recorder for MockCalendarService.
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 ¶
func (m *MockInvoicesService) EXPECT() *MockInvoicesServiceMockRecorder
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 ¶
func (m *MockPeriodsRepository) EXPECT() *MockPeriodsRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPeriodsRepositoryMockRecorder ¶
type MockPeriodsRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockPeriodsRepositoryMockRecorder is the mock recorder for MockPeriodsRepository.
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 ¶
func (m *MockUnitOfWork) EXPECT() *MockUnitOfWorkMockRecorder
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.