mocks

package
v0.0.0-...-33f6294 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2023 License: MIT Imports: 4 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 MockIExternalServiceClient

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

MockIExternalServiceClient is a mock of IExternalServiceClient interface.

func NewMockIExternalServiceClient

func NewMockIExternalServiceClient(ctrl *gomock.Controller) *MockIExternalServiceClient

NewMockIExternalServiceClient creates a new mock instance.

func (*MockIExternalServiceClient) CreateAccount

func (m *MockIExternalServiceClient) CreateAccount(ctx context.Context, account *repository.Account) error

CreateAccount mocks base method.

func (*MockIExternalServiceClient) EXPECT

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

type MockIExternalServiceClientMockRecorder

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

MockIExternalServiceClientMockRecorder is the mock recorder for MockIExternalServiceClient.

func (*MockIExternalServiceClientMockRecorder) CreateAccount

func (mr *MockIExternalServiceClientMockRecorder) CreateAccount(ctx, account interface{}) *gomock.Call

CreateAccount indicates an expected call of CreateAccount.

type MockIProducer

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

MockIProducer is a mock of IProducer interface.

func NewMockIProducer

func NewMockIProducer(ctrl *gomock.Controller) *MockIProducer

NewMockIProducer creates a new mock instance.

func (*MockIProducer) EXPECT

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

func (*MockIProducer) NewAccountEvent

func (m *MockIProducer) NewAccountEvent(ctx context.Context, account *repository.Account) error

NewAccountEvent mocks base method.

func (*MockIProducer) NewTransactionEvent

func (m *MockIProducer) NewTransactionEvent(ctx context.Context, transaction *repository.Transaction) error

NewTransactionEvent mocks base method.

type MockIProducerMockRecorder

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

MockIProducerMockRecorder is the mock recorder for MockIProducer.

func (*MockIProducerMockRecorder) NewAccountEvent

func (mr *MockIProducerMockRecorder) NewAccountEvent(ctx, account interface{}) *gomock.Call

NewAccountEvent indicates an expected call of NewAccountEvent.

func (*MockIProducerMockRecorder) NewTransactionEvent

func (mr *MockIProducerMockRecorder) NewTransactionEvent(ctx, transaction interface{}) *gomock.Call

NewTransactionEvent indicates an expected call of NewTransactionEvent.

type MockIRepository

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

MockIRepository is a mock of IRepository interface.

func NewMockIRepository

func NewMockIRepository(ctrl *gomock.Controller) *MockIRepository

NewMockIRepository creates a new mock instance.

func (*MockIRepository) EXPECT

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

func (*MockIRepository) SaveAccount

func (m *MockIRepository) SaveAccount(ctx context.Context, account *repository.Account) error

SaveAccount mocks base method.

func (*MockIRepository) SaveTransaction

func (m *MockIRepository) SaveTransaction(ctx context.Context, transaction *repository.Transaction) error

SaveTransaction mocks base method.

type MockIRepositoryMockRecorder

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

MockIRepositoryMockRecorder is the mock recorder for MockIRepository.

func (*MockIRepositoryMockRecorder) SaveAccount

func (mr *MockIRepositoryMockRecorder) SaveAccount(ctx, account interface{}) *gomock.Call

SaveAccount indicates an expected call of SaveAccount.

func (*MockIRepositoryMockRecorder) SaveTransaction

func (mr *MockIRepositoryMockRecorder) SaveTransaction(ctx, transaction interface{}) *gomock.Call

SaveTransaction indicates an expected call of SaveTransaction.

Jump to

Keyboard shortcuts

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