func (m *MockClient) StreamPayments(ctx context.Context, accountID string, cursor *Cursor, handler PaymentHandler) error {
	a := m.Called(ctx, accountID, cursor, handler)
	return a.Error(0)
}
StreamPayments is a mocking a method
package horizon
import (
	"github.com/stretchr/testify/mock"
	"golang.org/x/net/context"
)
type MockClient struct {
	mock.Mock
}
func (m *MockClient) Root() (Root, error) {
	a := m.Called()
	return a.Get(0).(Root), a.Error(1)
}
func (m *MockClient) HomeDomainForAccount(aid string) (string, error) {
	a := m.Called(aid)
	return a.Get(0).(string), a.Error(1)
}
func (m *MockClient) LoadAccount(accountID string) (Account, error) {
	a := m.Called(accountID)
	return a.Get(0).(Account), a.Error(1)
}
func (m *MockClient) LoadAccountOffers(accountID string, params ...interface{}) (offers OffersPage, err error) {
	args := []interface{}{accountID}
	for _, param := range params {
		args = append(args, param)
	}
	a := m.Called(args...)
	return a.Get(0).(OffersPage), a.Error(1)
}
func (m *MockClient) LoadMemo(p *Payment) error {
	a := m.Called(p)
	return a.Error(0)
}
func (m *MockClient) LoadOrderBook(selling Asset, buying Asset, params ...interface{}) (orderBook OrderBookSummary, err error) {
	a := m.Called(selling, buying, params)
	return a.Get(0).(OrderBookSummary), a.Error(1)
}
func (m *MockClient) StreamLedgers(ctx context.Context, cursor *Cursor, handler LedgerHandler) error {
	a := m.Called(ctx, cursor, handler)
	return a.Error(0)
}