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: 5 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 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

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

func (*MockDateTimeProvider) Now

Now mocks base method.

type MockDateTimeProviderMockRecorder

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

MockDateTimeProviderMockRecorder is the mock recorder for MockDateTimeProvider.

func (*MockDateTimeProviderMockRecorder) Now

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

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

func (*MockPeriodsRepository) GetCount

func (m *MockPeriodsRepository) GetCount(ctx context.Context) (uint64, error)

GetCount mocks base method.

type MockPeriodsRepositoryMockRecorder

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

MockPeriodsRepositoryMockRecorder is the mock recorder for MockPeriodsRepository.

func (*MockPeriodsRepositoryMockRecorder) GetCount

func (mr *MockPeriodsRepositoryMockRecorder) GetCount(ctx any) *gomock.Call

GetCount indicates an expected call of GetCount.

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

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.

Jump to

Keyboard shortcuts

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