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 MockDateTimeProvider ¶
type MockDateTimeProvider struct {
// contains filtered or unexported fields
}
MockDateTimeProvider is a mock of DateTimeProvider interface.
func NewMockDateTimeProvider ¶
func NewMockDateTimeProvider(ctrl *gomock.Controller) *MockDateTimeProvider
NewMockDateTimeProvider creates a new mock instance.
func (*MockDateTimeProvider) EXPECT ¶
func (m *MockDateTimeProvider) EXPECT() *MockDateTimeProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDateTimeProvider) Now ¶
func (m *MockDateTimeProvider) Now() datetime.DateTime
Now mocks base method.
type MockDateTimeProviderMockRecorder ¶
type MockDateTimeProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockDateTimeProviderMockRecorder is the mock recorder for MockDateTimeProvider.
func (*MockDateTimeProviderMockRecorder) Now ¶
func (mr *MockDateTimeProviderMockRecorder) Now() *gomock.Call
Now indicates an expected call of Now.
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) CreatePeriod ¶
func (m *MockUnitOfWork) CreatePeriod(period entities.Period) error
CreatePeriod mocks base method.
func (*MockUnitOfWork) EXPECT ¶
func (m *MockUnitOfWork) EXPECT() *MockUnitOfWorkMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUnitOfWork) SetStartDate ¶
func (m *MockUnitOfWork) SetStartDate(date datetime.Date)
SetStartDate mocks base method.
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) CreatePeriod ¶
func (mr *MockUnitOfWorkMockRecorder) CreatePeriod(period any) *gomock.Call
CreatePeriod indicates an expected call of CreatePeriod.
func (*MockUnitOfWorkMockRecorder) SetStartDate ¶
func (mr *MockUnitOfWorkMockRecorder) SetStartDate(date any) *gomock.Call
SetStartDate indicates an expected call of SetStartDate.