mock_usecase

package
v0.0.0-...-8b1ae4f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: archive.go

Generated by this command:

mockgen -source=archive.go -package=mock_usecase -destination=./mock/archive.go

Package mock_usecase is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: transaction.go

Generated by this command:

mockgen -source=transaction.go -package=mock_usecase -destination=./mock/transaction.go

Package mock_usecase is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockArchiveUseCase

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

MockArchiveUseCase is a mock of ArchiveUseCase interface.

func NewMockArchiveUseCase

func NewMockArchiveUseCase(ctrl *gomock.Controller) *MockArchiveUseCase

NewMockArchiveUseCase creates a new mock instance.

func (*MockArchiveUseCase) CreateArchive

func (m *MockArchiveUseCase) CreateArchive(ctx context.Context, request usecase.CreateArchiveInput, device entity.Device) error

CreateArchive mocks base method.

func (*MockArchiveUseCase) EXPECT

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

func (*MockArchiveUseCase) GetArchive

GetArchive mocks base method.

type MockArchiveUseCaseMockRecorder

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

MockArchiveUseCaseMockRecorder is the mock recorder for MockArchiveUseCase.

func (*MockArchiveUseCaseMockRecorder) CreateArchive

func (mr *MockArchiveUseCaseMockRecorder) CreateArchive(ctx, request, device any) *gomock.Call

CreateArchive indicates an expected call of CreateArchive.

func (*MockArchiveUseCaseMockRecorder) GetArchive

func (mr *MockArchiveUseCaseMockRecorder) GetArchive(ctx, request, client any) *gomock.Call

GetArchive indicates an expected call of GetArchive.

type MockITxManager

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

MockITxManager is a mock of ITxManager interface.

func NewMockITxManager

func NewMockITxManager(ctrl *gomock.Controller) *MockITxManager

NewMockITxManager creates a new mock instance.

func (*MockITxManager) DoInTx

func (m *MockITxManager) DoInTx(ctx context.Context, operation usecase.Operation) (context.Context, error)

DoInTx mocks base method.

func (*MockITxManager) EXPECT

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

type MockITxManagerMockRecorder

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

MockITxManagerMockRecorder is the mock recorder for MockITxManager.

func (*MockITxManagerMockRecorder) DoInTx

func (mr *MockITxManagerMockRecorder) DoInTx(ctx, operation any) *gomock.Call

DoInTx indicates an expected call of DoInTx.

Jump to

Keyboard shortcuts

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