mock_repositories

package
v0.1.1-0...-bf813a4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: OSL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_repositories is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStellarRepository

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

MockStellarRepository is a mock of StellarRepository interface

func NewMockStellarRepository

func NewMockStellarRepository(ctrl *gomock.Controller) *MockStellarRepository

NewMockStellarRepository creates a new mock instance

func (*MockStellarRepository) EXPECT

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

func (*MockStellarRepository) FundMinions

func (m *MockStellarRepository) FundMinions(ctx context.Context) error

FundMinions mocks base method

func (*MockStellarRepository) GetAccountDetail

func (m *MockStellarRepository) GetAccountDetail(ctx context.Context, accountID string) (horizon.Account, error)

GetAccountDetail mocks base method

func (*MockStellarRepository) NewFundTransaction

func (m *MockStellarRepository) NewFundTransaction(ctx context.Context, sourceAccount txnbuild.Account, destAccount string, credit entities.Credit) (string, error)

NewFundTransaction mocks base method

func (*MockStellarRepository) SubmitTx

func (m *MockStellarRepository) SubmitTx(ctx context.Context, transactionXDR string) (*horizon.TransactionSuccess, error)

SubmitTx mocks base method

type MockStellarRepositoryMockRecorder

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

MockStellarRepositoryMockRecorder is the mock recorder for MockStellarRepository

func (*MockStellarRepositoryMockRecorder) FundMinions

func (mr *MockStellarRepositoryMockRecorder) FundMinions(ctx interface{}) *gomock.Call

FundMinions indicates an expected call of FundMinions

func (*MockStellarRepositoryMockRecorder) GetAccountDetail

func (mr *MockStellarRepositoryMockRecorder) GetAccountDetail(ctx, accountID interface{}) *gomock.Call

GetAccountDetail indicates an expected call of GetAccountDetail

func (*MockStellarRepositoryMockRecorder) NewFundTransaction

func (mr *MockStellarRepositoryMockRecorder) NewFundTransaction(ctx, sourceAccount, destAccount, credit interface{}) *gomock.Call

NewFundTransaction indicates an expected call of NewFundTransaction

func (*MockStellarRepositoryMockRecorder) SubmitTx

func (mr *MockStellarRepositoryMockRecorder) SubmitTx(ctx, transactionXDR interface{}) *gomock.Call

SubmitTx indicates an expected call of SubmitTx

Jump to

Keyboard shortcuts

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