Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockInvoicesRepository
- func (m *MockInvoicesRepository) Delete(ctx context.Context, id uint64) error
- func (m *MockInvoicesRepository) EXPECT() *MockInvoicesRepositoryMockRecorder
- func (m *MockInvoicesRepository) GetByID(ctx context.Context, id uint64) (*entities.Invoice, error)
- func (m *MockInvoicesRepository) GetByTemplateID(ctx context.Context, templateID uint64) ([]entities.Invoice, error)
- type MockInvoicesRepositoryMockRecorder
- type MockInvoicesTemplatesRepository
- type MockInvoicesTemplatesRepositoryMockRecorder
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 ¶
func (m *MockInvoicesRepository) EXPECT() *MockInvoicesRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (m *MockInvoicesTemplatesRepository) Delete(ctx context.Context, id uint64) error
Delete mocks base method.
func (*MockInvoicesTemplatesRepository) EXPECT ¶
func (m *MockInvoicesTemplatesRepository) EXPECT() *MockInvoicesTemplatesRepositoryMockRecorder
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.