mock_services

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_services is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStellarService

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

MockStellarService is a mock of StellarService interface

func NewMockStellarService

func NewMockStellarService(ctrl *gomock.Controller) *MockStellarService

NewMockStellarService creates a new mock instance

func (*MockStellarService) EXPECT

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

func (*MockStellarService) FundCredit

func (m *MockStellarService) FundCredit(ctx context.Context, request *entities.FundCreditRequest) (string, error)

FundCredit mocks base method

func (*MockStellarService) FundMinions

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

FundMinions mocks base method

func (*MockStellarService) GetAccount

func (m *MockStellarService) GetAccount(ctx context.Context, accountID string) (txnbuild.Account, error)

GetAccount mocks base method

func (*MockStellarService) GetTrustlines

func (m *MockStellarService) GetTrustlines(ctx context.Context, address string) ([]xdr.Asset, error)

GetTrustlines mocks base method

func (*MockStellarService) SubmitTx

func (m *MockStellarService) SubmitTx(ctx context.Context, transactionXDR string) (string, error)

SubmitTx mocks base method

type MockStellarServiceMockRecorder

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

MockStellarServiceMockRecorder is the mock recorder for MockStellarService

func (*MockStellarServiceMockRecorder) FundCredit

func (mr *MockStellarServiceMockRecorder) FundCredit(ctx, request interface{}) *gomock.Call

FundCredit indicates an expected call of FundCredit

func (*MockStellarServiceMockRecorder) FundMinions

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

FundMinions indicates an expected call of FundMinions

func (*MockStellarServiceMockRecorder) GetAccount

func (mr *MockStellarServiceMockRecorder) GetAccount(ctx, accountID interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount

func (*MockStellarServiceMockRecorder) GetTrustlines

func (mr *MockStellarServiceMockRecorder) GetTrustlines(ctx, address interface{}) *gomock.Call

GetTrustlines indicates an expected call of GetTrustlines

func (*MockStellarServiceMockRecorder) SubmitTx

func (mr *MockStellarServiceMockRecorder) 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