Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockInvestor
- func (m *MockInvestor) Create(ctx context.Context, investor *model.Investor) (*model.Investor, error)
- func (m *MockInvestor) EXPECT() *MockInvestorMockRecorder
- func (m *MockInvestor) Get(ctx context.Context, id uuid.UUID) (*model.Investor, error)
- func (m *MockInvestor) GetAll(ctx context.Context, paging *model.Paging) ([]model.Investor, error)
- type MockInvestorMockRecorder
- type MockInvoice
- func (m *MockInvoice) Approve(ctx context.Context, id uuid.UUID) error
- func (m *MockInvoice) Create(ctx context.Context, invoice *model.Invoice) (*model.Invoice, error)
- func (m *MockInvoice) EXPECT() *MockInvoiceMockRecorder
- func (m *MockInvoice) Get(ctx context.Context, id uuid.UUID) (*model.Invoice, error)
- type MockInvoiceMockRecorder
- type MockIssuer
- type MockIssuerMockRecorder
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 ¶
func (m *MockInvestor) EXPECT() *MockInvestorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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) EXPECT ¶
func (m *MockInvoice) EXPECT() *MockInvoiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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) EXPECT ¶
func (m *MockIssuer) EXPECT() *MockIssuerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.