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 MockAccountsService

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

MockAccountsService is a mock of AccountsService interface

func NewMockAccountsService

func NewMockAccountsService(ctrl *gomock.Controller) *MockAccountsService

NewMockAccountsService creates a new mock instance

func (*MockAccountsService) CheckConnection

func (m *MockAccountsService) CheckConnection(ctx context.Context) error

CheckConnection mocks base method

func (*MockAccountsService) EXPECT

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

func (*MockAccountsService) FundCredit

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

FundCredit mocks base method

func (*MockAccountsService) GetLastRequestTimestamp

func (m *MockAccountsService) GetLastRequestTimestamp(ctx context.Context, accountID string) (time.Time, error)

GetLastRequestTimestamp mocks base method

func (*MockAccountsService) GetTrustlines

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

GetTrustlines mocks base method

type MockAccountsServiceMockRecorder

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

MockAccountsServiceMockRecorder is the mock recorder for MockAccountsService

func (*MockAccountsServiceMockRecorder) CheckConnection

func (mr *MockAccountsServiceMockRecorder) CheckConnection(ctx interface{}) *gomock.Call

CheckConnection indicates an expected call of CheckConnection

func (*MockAccountsServiceMockRecorder) FundCredit

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

FundCredit indicates an expected call of FundCredit

func (*MockAccountsServiceMockRecorder) GetLastRequestTimestamp

func (mr *MockAccountsServiceMockRecorder) GetLastRequestTimestamp(ctx, accountID interface{}) *gomock.Call

GetLastRequestTimestamp indicates an expected call of GetLastRequestTimestamp

func (*MockAccountsServiceMockRecorder) GetTrustlines

func (mr *MockAccountsServiceMockRecorder) GetTrustlines(ctx, accountID interface{}) *gomock.Call

GetTrustlines indicates an expected call of GetTrustlines

Jump to

Keyboard shortcuts

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