Documentation ¶
Overview ¶
Package mock_services is a generated GoMock package.
Index ¶
- type MockAccountsService
- func (m *MockAccountsService) CheckConnection(ctx context.Context) error
- func (m *MockAccountsService) EXPECT() *MockAccountsServiceMockRecorder
- func (m *MockAccountsService) FundCredit(ctx context.Context, request *entities.FundCreditRequest) (string, error)
- func (m *MockAccountsService) GetLastRequestTimestamp(ctx context.Context, accountID string) (time.Time, error)
- func (m *MockAccountsService) GetTrustlines(ctx context.Context, accountID string) ([]xdr.Asset, error)
- type MockAccountsServiceMockRecorder
- func (mr *MockAccountsServiceMockRecorder) CheckConnection(ctx interface{}) *gomock.Call
- func (mr *MockAccountsServiceMockRecorder) FundCredit(ctx, request interface{}) *gomock.Call
- func (mr *MockAccountsServiceMockRecorder) GetLastRequestTimestamp(ctx, accountID interface{}) *gomock.Call
- func (mr *MockAccountsServiceMockRecorder) GetTrustlines(ctx, accountID interface{}) *gomock.Call
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 ¶
func (m *MockAccountsService) EXPECT() *MockAccountsServiceMockRecorder
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