mocks

package
v0.0.0-...-47cfc89 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockInvestor

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

MockInvestor is a mock of Investor interface.

func NewMockInvestor

func NewMockInvestor(ctrl *gomock.Controller) *MockInvestor

NewMockInvestor creates a new mock instance.

func (*MockInvestor) Create

func (m *MockInvestor) Create(ctx context.Context, investor *model.Investor) (*model.Investor, error)

Create mocks base method.

func (*MockInvestor) EXPECT

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

func (*MockInvestor) Get

func (m *MockInvestor) Get(ctx context.Context, id uuid.UUID) (*model.Investor, error)

Get mocks base method.

func (*MockInvestor) GetAll

func (m *MockInvestor) GetAll(ctx context.Context, paging *model.Paging) ([]model.Investor, error)

GetAll mocks base method.

type MockInvestorMockRecorder

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

MockInvestorMockRecorder is the mock recorder for MockInvestor.

func (*MockInvestorMockRecorder) Create

func (mr *MockInvestorMockRecorder) Create(ctx, investor interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockInvestorMockRecorder) Get

func (mr *MockInvestorMockRecorder) Get(ctx, id interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockInvestorMockRecorder) GetAll

func (mr *MockInvestorMockRecorder) GetAll(ctx, paging interface{}) *gomock.Call

GetAll indicates an expected call of GetAll.

type MockInvoice

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

MockInvoice is a mock of Invoice interface.

func NewMockInvoice

func NewMockInvoice(ctrl *gomock.Controller) *MockInvoice

NewMockInvoice creates a new mock instance.

func (*MockInvoice) Approve

func (m *MockInvoice) Approve(ctx context.Context, id uuid.UUID) error

Approve mocks base method.

func (*MockInvoice) Create

func (m *MockInvoice) Create(ctx context.Context, invoice *model.Invoice) (*model.Invoice, error)

Create mocks base method.

func (*MockInvoice) EXPECT

func (m *MockInvoice) EXPECT() *MockInvoiceMockRecorder

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

func (*MockInvoice) Get

func (m *MockInvoice) Get(ctx context.Context, id uuid.UUID) (*model.Invoice, error)

Get mocks base method.

type MockInvoiceMockRecorder

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

MockInvoiceMockRecorder is the mock recorder for MockInvoice.

func (*MockInvoiceMockRecorder) Approve

func (mr *MockInvoiceMockRecorder) Approve(ctx, id interface{}) *gomock.Call

Approve indicates an expected call of Approve.

func (*MockInvoiceMockRecorder) Create

func (mr *MockInvoiceMockRecorder) Create(ctx, invoice interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockInvoiceMockRecorder) Get

func (mr *MockInvoiceMockRecorder) Get(ctx, id interface{}) *gomock.Call

Get indicates an expected call of Get.

type MockIssuer

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

MockIssuer is a mock of Issuer interface.

func NewMockIssuer

func NewMockIssuer(ctrl *gomock.Controller) *MockIssuer

NewMockIssuer creates a new mock instance.

func (*MockIssuer) Create

func (m *MockIssuer) Create(ctx context.Context, issuer *model.Issuer) (*model.Issuer, error)

Create mocks base method.

func (*MockIssuer) EXPECT

func (m *MockIssuer) EXPECT() *MockIssuerMockRecorder

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

func (*MockIssuer) Get

func (m *MockIssuer) Get(ctx context.Context, id uuid.UUID) (*model.Issuer, error)

Get mocks base method.

type MockIssuerMockRecorder

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

MockIssuerMockRecorder is the mock recorder for MockIssuer.

func (*MockIssuerMockRecorder) Create

func (mr *MockIssuerMockRecorder) Create(ctx, issuer interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockIssuerMockRecorder) Get

func (mr *MockIssuerMockRecorder) Get(ctx, id interface{}) *gomock.Call

Get indicates an expected call of Get.

Jump to

Keyboard shortcuts

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