Documentation
¶
Overview ¶
Package mock_services is a generated GoMock package.
Index ¶
- type MockStellarService
- func (m *MockStellarService) EXPECT() *MockStellarServiceMockRecorder
- func (m *MockStellarService) FundCredit(ctx context.Context, request *entities.FundCreditRequest) (string, error)
- func (m *MockStellarService) FundMinions(ctx context.Context) error
- func (m *MockStellarService) GetAccount(ctx context.Context, accountID string) (txnbuild.Account, error)
- func (m *MockStellarService) GetTrustlines(ctx context.Context, address string) ([]xdr.Asset, error)
- func (m *MockStellarService) SubmitTx(ctx context.Context, transactionXDR string) (string, error)
- type MockStellarServiceMockRecorder
- func (mr *MockStellarServiceMockRecorder) FundCredit(ctx, request interface{}) *gomock.Call
- func (mr *MockStellarServiceMockRecorder) FundMinions(ctx interface{}) *gomock.Call
- func (mr *MockStellarServiceMockRecorder) GetAccount(ctx, accountID interface{}) *gomock.Call
- func (mr *MockStellarServiceMockRecorder) GetTrustlines(ctx, address interface{}) *gomock.Call
- func (mr *MockStellarServiceMockRecorder) SubmitTx(ctx, transactionXDR interface{}) *gomock.Call
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 ¶
func (m *MockStellarService) EXPECT() *MockStellarServiceMockRecorder
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
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