func (mock *RepositoryMock) GetSyntheticAccountBalance(contextMoqParam context.Context, account vos.Account) (vos.AccountBalance, error) {
	if mock.GetSyntheticAccountBalanceFunc == nil {
		panic("RepositoryMock.GetSyntheticAccountBalanceFunc: method is nil but Repository.GetSyntheticAccountBalance was just called")
	}
	callInfo := struct {
		ContextMoqParam context.Context
		Account         vos.Account
	}{
		ContextMoqParam: contextMoqParam,
		Account:         account,
	}
	mock.lockGetSyntheticAccountBalance.Lock()
	mock.calls.GetSyntheticAccountBalance = append(mock.calls.GetSyntheticAccountBalance, callInfo)
	mock.lockGetSyntheticAccountBalance.Unlock()
	return mock.GetSyntheticAccountBalanceFunc(contextMoqParam, account)
}
GetSyntheticAccountBalance calls GetSyntheticAccountBalanceFunc.
package mocks
import (
	"context"
	"github.com/stone-co/the-amazing-ledger/app/domain"
	"github.com/stone-co/the-amazing-ledger/app/domain/entities"
	"github.com/stone-co/the-amazing-ledger/app/domain/vos"
	"github.com/stone-co/the-amazing-ledger/app/pagination"
	"sync"
	"time"
)
var _ domain.Repository = &RepositoryMock{}
type RepositoryMock struct {
	CreateTransactionFunc func(contextMoqParam context.Context, transaction entities.Transaction) error
	GetAnalyticAccountBalanceFunc func(contextMoqParam context.Context, account vos.Account) (vos.AccountBalance, error)
	GetSyntheticAccountBalanceFunc func(contextMoqParam context.Context, account vos.Account) (vos.AccountBalance, error)
	GetSyntheticReportFunc func(contextMoqParam context.Context, account vos.Account, n int, timeMoqParam1 time.Time, timeMoqParam2 time.Time) (*vos.SyntheticReport, error)
	ListAccountEntriesFunc func(contextMoqParam context.Context, accountEntryRequest vos.AccountEntryRequest) ([]vos.AccountEntry, pagination.Cursor, error)
	calls struct {
		CreateTransaction []struct {
			ContextMoqParam context.Context
			Transaction entities.Transaction
		}
		GetAnalyticAccountBalance []struct {
			ContextMoqParam context.Context
			Account vos.Account
		}
		GetSyntheticAccountBalance []struct {
			ContextMoqParam context.Context
			Account vos.Account
		}
		GetSyntheticReport []struct {
			ContextMoqParam context.Context
			Account vos.Account
			N int
			TimeMoqParam1 time.Time
			TimeMoqParam2 time.Time
		}
		ListAccountEntries []struct {
			ContextMoqParam context.Context
			AccountEntryRequest vos.AccountEntryRequest
		}
	}
	lockCreateTransaction          sync.RWMutex
	lockGetAnalyticAccountBalance  sync.RWMutex
	lockGetSyntheticAccountBalance sync.RWMutex
	lockGetSyntheticReport         sync.RWMutex
	lockListAccountEntries         sync.RWMutex
}
func (mock *RepositoryMock) CreateTransaction(contextMoqParam context.Context, transaction entities.Transaction) error {
	if mock.CreateTransactionFunc == nil {
		panic("RepositoryMock.CreateTransactionFunc: method is nil but Repository.CreateTransaction was just called")
	}
	callInfo := struct {
		ContextMoqParam context.Context
		Transaction     entities.Transaction
	}{
		ContextMoqParam: contextMoqParam,
		Transaction:     transaction,
	}
	mock.lockCreateTransaction.Lock()
	mock.calls.CreateTransaction = append(mock.calls.CreateTransaction, callInfo)
	mock.lockCreateTransaction.Unlock()
	return mock.CreateTransactionFunc(contextMoqParam, transaction)
}
func (mock *RepositoryMock) CreateTransactionCalls() []struct {
	ContextMoqParam context.Context
	Transaction     entities.Transaction
} {
	var calls []struct {
		ContextMoqParam context.Context
		Transaction     entities.Transaction
	}
	mock.lockCreateTransaction.RLock()
	calls = mock.calls.CreateTransaction
	mock.lockCreateTransaction.RUnlock()
	return calls
}
func (mock *RepositoryMock) GetAnalyticAccountBalance(contextMoqParam context.Context, account vos.Account) (vos.AccountBalance, error) {
	if mock.GetAnalyticAccountBalanceFunc == nil {
		panic("RepositoryMock.GetAnalyticAccountBalanceFunc: method is nil but Repository.GetAnalyticAccountBalance was just called")
	}
	callInfo := struct {
		ContextMoqParam context.Context
		Account         vos.Account
	}{
		ContextMoqParam: contextMoqParam,
		Account:         account,
	}
	mock.lockGetAnalyticAccountBalance.Lock()
	mock.calls.GetAnalyticAccountBalance = append(mock.calls.GetAnalyticAccountBalance, callInfo)
	mock.lockGetAnalyticAccountBalance.Unlock()
	return mock.GetAnalyticAccountBalanceFunc(contextMoqParam, account)
}
func (mock *RepositoryMock) GetAnalyticAccountBalanceCalls() []struct {
	ContextMoqParam context.Context
	Account         vos.Account
} {
	var calls []struct {
		ContextMoqParam context.Context
		Account         vos.Account
	}
	mock.lockGetAnalyticAccountBalance.RLock()
	calls = mock.calls.GetAnalyticAccountBalance
	mock.lockGetAnalyticAccountBalance.RUnlock()
	return calls
}